[FFmpeg-devel] [PATCH] avoid crashes if input stream size changes without using -r
Mon Jul 6 15:01:04 CEST 2009
On Mon, Jul 06, 2009 at 02:54:17PM +0200, Reimar D?ffinger wrote:
> On Mon, Jul 06, 2009 at 02:29:21PM +0200, Michael Niedermayer wrote:
> > On Mon, Jul 06, 2009 at 01:59:15PM +0200, Reimar D?ffinger wrote:
> > > Overall it seems to me that doing the check in lavc will not save
> > > applications using lavc much code (if any)...
> > maybe, and iam not really suggestinng to solve the issue in any specific
> > way, ive also already said that i dont know if we should support size
> > changes in encoders, some like mpeg1/2 could do it though ...
> All can do it if you close and reopen them. Except a bit of additional
> code (and maybe even that only for badly designed applications), does
> this have any disadvantage?
Well, I correct myself, the codec delay can cause a bit of an issue, I
am not convinced that handling that for changing resolutions in the
encoder is such a great idea though.
More information about the ffmpeg-devel