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

Michael Niedermayer michaelni
Sun Feb 28 18:54:23 CET 2010

On Sun, Feb 28, 2010 at 02:13:49PM +0100, Janusz Krzysztofik wrote:
> 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. The 
> same applies to playing vdr caputured samples of this transmission with 
> ffplay.
> This patch corrects the problem for me by reinitializing the decoder context 
> on every aspect ratio change in addition to geometry changes.
> Created against ffmpeg svn revision 22110 dated 2010-02-28.
> Tested using this revision ffplay on x86_64.
> Signed-off-by: Janusz Krzysztofik <jkrzyszt at tis.icnet.pl>

patch looks ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many things microsoft did are stupid, but not doing something just because
microsoft did it is even more stupid. If everything ms did were stupid they
would be bankrupt already.
-------------- 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/20100228/bd1af39f/attachment.pgp>

More information about the ffmpeg-devel mailing list