Browse files

Shortcut the return from the new --fifoinfo mode

Rather than let it run through the rest of the code, just clean up and
exit.

Fixes #9902
  • Loading branch information...
1 parent 488c7c1 commit a466843d2ab2f4b4971a4a6f380f4469bedc0e95 @Beirdo Beirdo committed Jul 7, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 mythtv/programs/mythtranscode/main.cpp
View
6 mythtv/programs/mythtranscode/main.cpp
@@ -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)
{

0 comments on commit a466843

Please sign in to comment.