[FFmpeg-devel] [PATCH] av_log_missing_feature_once

Michael Niedermayer michaelni
Fri Mar 19 02:23:45 CET 2010


On Thu, Mar 18, 2010 at 05:45:41PM -0400, Alexander Strange wrote:
> This prevents HE-AACv2 files from printing warnings about parametric stereo constantly.
> 
> It was suggested that every av_log_missing_feature call should only happen once, but that would mean adding a variable for each one (whether static or a context variable) and I think most of them are rare anyway.
> 

i think we need a context variable, a function like in this patch that
simplifies it is of course a good idea.
but without such variable it is printed just once in the lifetime of an
application. This is all fine for a application that plays one file once
but something like xmms that may run for months really would misbehave quite
a bit.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100319/d13afc65/attachment.pgp>



More information about the ffmpeg-devel mailing list