[FFmpeg-devel] [PATCH] H.264: reinitialize context on aspect ratio change as well

Janusz Krzysztofik jkrzyszt
Sun Feb 28 02:05:55 CET 2010

Saturday 27 February 2010 22:33:24 Michael Niedermayer napisa?(a):
> On Sat, Feb 27, 2010 at 01:46:20PM +0100, Janusz Krzysztofik wrote:
> > Hi,
> >
> > While using ffmpeg based vdr softdevice plugin for watching h.264 encoded
> > live tv, I found that after correct picture aspect ratio setup on a new
> > stream startup, any following picture aspect ratio changes were not
> > processed. This patch corrects the problem for me by reinitializing the
> > decoder context on every aspect ratio change in addition to geometry
> > changes.
> >
> > Created and tested against gentoo ffmpeg-0.4.9_p20090201 ebuild (0.5 did
> > not yet work for me with vdr softdevice plugin flawlessly enough).
> > Refreshed and compile tested on top of svn revision 22026 dated
> > 2010-02-24.
> patches must be tested with svn ffmpeg obviously.
> If i understand you correctly you tested with some 2 years old release
> primarely

I have no convenient way to test it right now, sorry. Do you suppose that 
latest revisions might have this issue already addressed in a different way?

> also try our /tools/patcheck

OK, will do next time.


More information about the ffmpeg-devel mailing list