vpxenc: warn against webm output to pipes

The WebM writer requires a seekable stream.

Change-Id: I192e00706a0685362d41b8d2faf80add63d564b9
This commit is contained in:
John Koleszar 2010-10-22 14:57:02 -04:00
parent 5329189a33
commit 0a6bf29eb9

View File

@ -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))