Commit 0a6bf29e authored by John Koleszar's avatar John Koleszar

vpxenc: warn against webm output to pipes

The WebM writer requires a seekable stream.

Change-Id: I192e00706a0685362d41b8d2faf80add63d564b9
parent 5329189a
......@@ -1349,6 +1349,12 @@ int main(int argc, const char **argv_)
return EXIT_FAILURE;
}
if(write_webm && fseek(outfile, 0, SEEK_CUR))
{
fprintf(stderr, "WebM output to pipes not supported.\n");
return EXIT_FAILURE;
}
if (stats_fn)
{
if (!stats_open_file(&stats, stats_fn, pass))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment