Permalink
Browse files

Permit remote transcode in fifodir case

  • Loading branch information...
1 parent b491236 commit 90ac990bf0d2cfb3c7ea798b65a58239f5b845a6 Paul Gardiner committed Jun 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 mythtv/programs/mythtranscode/main.cpp
View
@@ -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)

0 comments on commit 90ac990

Please sign in to comment.