Skip to content

Commit

Permalink
shortcut cleanup after failed transcode
Browse files Browse the repository at this point in the history
Don't wait until recording is not in use anymore when its not going to be
deleted anyway.
  • Loading branch information
dekarl committed Dec 14, 2012
1 parent 3664515 commit d4a09b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythtranscode/main.cpp
Expand Up @@ -833,13 +833,13 @@ static void CompleteJob(int jobID, ProgramInfo *pginfo, bool useCutlist,
return;
}

WaitToDelete(pginfo);

const QString filename = pginfo->GetPlaybackURL(false, true);
const QByteArray fname = filename.toLocal8Bit();

if (status == JOB_STOPPING)
{
WaitToDelete(pginfo);

// Transcoding may take several minutes. Reload the bookmark
// in case it changed, then save its translated value back.
uint64_t previousBookmark =
Expand Down

0 comments on commit d4a09b7

Please sign in to comment.