summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gardiner <paul@plonty.site>2011-06-23 07:50:34 (GMT)
committer Paul Gardiner <paul@plonty.site>2011-07-05 19:43:26 (GMT)
commit90ac990bf0d2cfb3c7ea798b65a58239f5b845a6 (patch)
tree5fa849817eefd24aa3dc6cc8f0077e355a9d3ace
parentb491236f7b4d67ea026057c7333db8d1c6612af2 (diff)
Permit remote transcode in fifodir case
-rwxr-xr-x[-rw-r--r--]mythtv/programs/mythtranscode/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mythtv/programs/mythtranscode/main.cpp b/mythtv/programs/mythtranscode/main.cpp
index 305271d..e396e76 100644..100755
--- a/mythtv/programs/mythtranscode/main.cpp
+++ b/mythtv/programs/mythtranscode/main.cpp
@@ -608,7 +608,7 @@ int main(int argc, char *argv[])
}
}
- if (infile.left(7) == "myth://" && (outfile.isNull() || outfile != "-"))
+ if (infile.left(7) == "myth://" && (outfile.isNull() || outfile != "-") && fifodir.isEmpty())
{
VERBOSE(VB_IMPORTANT, QString("Attempted to transcode %1. "
"Mythtranscode is currently unable to transcode remote "
@@ -617,7 +617,7 @@ int main(int argc, char *argv[])
return TRANSCODE_EXIT_REMOTE_FILE;
}
- if (outfile.isNull() && !build_index)
+ if (outfile.isNull() && !build_index && fifodir.isEmpty())
outfile = infile + ".tmp";
if (jobID >= 0)