Skip to content

Commit

Permalink
Shortcut the return from the new --fifoinfo mode
Browse files Browse the repository at this point in the history
Rather than let it run through the rest of the code, just clean up and
exit.

Fixes #9902
  • Loading branch information
Beirdo committed Jul 8, 2011
1 parent 488c7c1 commit a466843
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mythtv/programs/mythtranscode/main.cpp
Expand Up @@ -662,6 +662,12 @@ int main(int argc, char *argv[])
JobQueue::ChangeJobArgs(jobID, "RENAME_TO_NUV");
}

if (fifo_info)
{
delete gContext;
return TRANSCODE_EXIT_OK;
}

int exitcode = TRANSCODE_EXIT_OK;
if ((result == REENCODE_MPEG2TRANS) || mpeg2 || build_index)
{
Expand Down

0 comments on commit a466843

Please sign in to comment.