[FFmpeg-devel] [PATCH] send benchmark time to stderr

Måns Rullgård mans
Thu Nov 19 11:08:22 CET 2009

Mike Melanson <mike at multimedia.cx> writes:

> Baptiste Coudurier wrote:
>> On 11/18/09 10:27 PM, Mike Melanson wrote:
>>> For some reason, '-benchmark' prints to stdout. This should go to stderr
>>> instead. I hope to use this in FATE.

I agree it should go to stderr.

>> The regression test script use -benchmark and redirect stdout to a
>> file, this needs some change as well.
> I knew there had to be a reason that this was being sent to stdout.

The regression test script does nothing whatsoever with that file.

> I was hoping to use this to automatically gather profiling statistics
> from remote testing targets. Could another solution be to add another
> option that sends the same information to stderr (-benchmarkstderr)?

Does your patch have any adverse effects on "make test"?  If not, I'm
fine with having it applied.  I'll fix any minor issues in the
regression tests afterwards.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list