summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGavin Hurlbut <ghurlbut@mythtv.org>2011-07-08 04:40:33 (GMT)
committer Gavin Hurlbut <ghurlbut@mythtv.org>2011-07-08 04:40:33 (GMT)
commita466843d2ab2f4b4971a4a6f380f4469bedc0e95 (patch)
treecad779bcee178a0d3082ed2c568284645c7ceb84
parent488c7c18a9b7df8e0ffbde543f3477c122bf6f01 (diff)
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
-rwxr-xr-xmythtv/programs/mythtranscode/main.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/mythtv/programs/mythtranscode/main.cpp b/mythtv/programs/mythtranscode/main.cpp
index 71adf70..9ea7e2d 100755
--- a/mythtv/programs/mythtranscode/main.cpp
+++ b/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)
{