[FFmpeg-devel] [PATCH] Accept "-" for stdin input for tiny_psnr

Måns Rullgård mans
Fri Jul 9 16:02:37 CEST 2010


Michael Niedermayer <michaelni at gmx.at> writes:

> On Fri, Jul 09, 2010 at 12:32:07AM +0200, Vitor Sessak wrote:
>> $subj
>>
>> -Vitor
>
>>  tiny_psnr.c |    7 +++++++
>>  1 file changed, 7 insertions(+)
>> d7304dc52adbc194b48f1e0ad381f9adcc724288  psnr_stdin.diff
>
> no strong oppinon, but why?

Seeking won't work too well on stdin, so this is probably not such a
great idea in the first place, and with the way we're doing the tests
we won't be needing this anyway.

> /dev/stdin isnt good?

/dev/stdin isn't standard.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list