[FFmpeg-devel] [PATCH]Print bits per component in avcodec_string if smaller than expected

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Dec 8 19:38:30 CET 2012


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > If a decoder specifies a value for bits_per_raw_sample that is smaller than 
> > the pix_fmt would indicate, print the smaller value.
> > 
> > Please comment, Carl Eugen
> 
> this prints a lot of 8 bpc for argb, rgb24, yuv420
> and 10bpc for yuv420p10

I probably miss something obvious, but I was unable to 
trigger the message for any of the mentioned colour-spaces 
(and I do not immediately see how it could be triggered).

Could you give me an example so I can try to improve?

Carl Eugen



More information about the ffmpeg-devel mailing list