[mythtv] Sending printf output in mythtv/libs/libavformat/utils.c to a MythTV log target

Janne Grunau janne-mythtv at grunau.be
Thu Aug 16 14:40:40 UTC 2007


On Thursday 16 August 2007 05:06:30 Nick Morrott wrote:
> Janne et al,
>
> I'm wondering whether anything can be done (or is planned) regarding
> the 2 printf's (lines 1692, 1696) in libavformat/utils.c that dumps
> output into the frontend log with no means of controlling it. I'm
> guessing that using the LIBAV log target is the best solution?
>
> After a very brief chat with Chutt on IRC I understand that this
> needs to be dealt with upstream in ffmpeg, before ffmpeg is pulled
> back in to MythTV.

The printf's are in a #if 0 block in the original ffmpeg sources since 
that code got added.
Some mythtv developer must have removed that. I don't see a reason why 
we differ from upstream.
If nobody objects I'll add the "#if 0" tomorrow.

Janne


More information about the mythtv-dev mailing list