Skip to content

Commit

Permalink
Permit remote transcode in fifodir case
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Gardiner committed Jul 5, 2011
1 parent b491236 commit 90ac990
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/programs/mythtranscode/main.cpp 100644 → 100755
Expand Up @@ -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 "
Expand All @@ -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)
Expand Down

0 comments on commit 90ac990

Please sign in to comment.