[FFmpeg-devel] [Ffmpeg-devel] [PATCH] fix mid-stream resolution changes

Michael Niedermayer michaelni
Wed May 2 08:48:09 CEST 2007


On Sat, Mar 31, 2007 at 02:52:50PM +0300, Heikki Lindholm wrote:
> Hello,
> ffmpeg's mpeg decoder cannot seem to handle mid-stream changes in 
> resolution, which are fairly common in DVB broadcasts. I made the 
> attached patch to do something about the problem, but knowing next to 
> nothing about ffmpeg internals, the approach might not be the proper 
> one. Also, I'm not sure whether the "avctx->coded_width  != s->width" 
> checks actually ever trigger and whether they, therefore, are useful at all.

patch ok

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070502/917902c1/attachment.pgp>

More information about the ffmpeg-devel mailing list