From: John Koleszar Date: Fri, 22 Oct 2010 18:57:02 +0000 (-0400) Subject: vpxenc: warn against webm output to pipes X-Git-Tag: 1.0_branch~839^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0a6bf29eb93d8ac6ade83071379b20700a7cd06d;p=profile%2Fivi%2Flibvpx.git vpxenc: warn against webm output to pipes The WebM writer requires a seekable stream. Change-Id: I192e00706a0685362d41b8d2faf80add63d564b9 --- diff --git a/vpxenc.c b/vpxenc.c index 4eecdcd..a178782 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -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))