[FFmpeg-devel] [PATCH] avoid crashes if input stream size changes without using -r

Reimar Döffinger Reimar.Doeffinger
Mon Jul 6 11:19:19 CEST 2009


On Mon, Jul 06, 2009 at 05:30:56AM +0200, Michael Niedermayer wrote:
> On Sun, Jul 05, 2009 at 01:45:45PM +0200, Reimar D?ffinger wrote:
> > I don't know why, but currently FFmpeg only checks for an input stream
> > size change when it is using resizing.
> 
> id guess, the idea might have been to allow size changes on the encoder
> side too when supported (trivial for intra only codecs)

The code for that isn't there though (rawenc with the current code could
already handle that fine), FFmpeg never gives the encoder the slightest
hint that the resolution changed (avctx width/height stay at the
original values)...



More information about the ffmpeg-devel mailing list