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

Michael Niedermayer michaelni
Sat Feb 27 22:33:24 CET 2010


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

also try our /tools/patcheck

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

No human being will ever know the Truth, for even if they happen to say it
by chance, they would not even known they had done so. -- Xenophanes
-------------- 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/20100227/cbf6361f/attachment.pgp>



More information about the ffmpeg-devel mailing list