[FFmpeg-devel] [PATCH] Implement recursive avfilter_get_video_buffer()
Stefano Sabatini
stefano.sabatini-lala
Sun Oct 18 10:16:10 CEST 2009
On date Saturday 2009-10-17 18:49:50 +0200, Stefano Sabatini encoded:
> On date Friday 2009-10-16 14:58:20 +0200, Michael Niedermayer encoded:
> > On Sat, Oct 10, 2009 at 11:40:10AM +0200, Stefano Sabatini wrote:
> > > On date Saturday 2009-10-10 00:58:42 +0200, Michael Niedermayer encoded:
> > > > On Fri, Oct 09, 2009 at 02:01:27AM +0200, Stefano Sabatini wrote:
> > > [...]
> > > > > I found this filterchain is somehow broken:
> > > > >
> > > > > slicify=10,vflip,scale=20:20,scale=200:200
> > > >
> > > > somehow?
> > > > and i assume that this is a minimal chain ...
> > >
> > > The last drawn slice, and only the last one (corresponding to the top
> > > slice of the output image) results corrupted, or better it looks like
> > > it isn't drawn at all (and so it may contain random data).
> > >
> > > You can observe this behavior changing the slicify size, also the
> > > first half part of the image looks always rendered correctly with
> > > every slicify size.
> > >
> > > Removing any of the filters in the chain (or increasing the slicify
> > > value to X >= H) the problem doesn't show up, it looks like a glitch
> > > in libswscale issued when dealing with negative linesizes, I still
> > > didn't extensively investigated on it though so I may be wrong.
> > >
> > > If that's not a problem I'll apply this patch anyway.
> >
> > I would prefer if the bug is better understood before things are changed
> > further
>
> It's a bug in the scale filter.
[...]
> So I'll apply it tomorrow if there are no further comments.
Applied.
--
FFmpeg = Fantastic & Faithful Multimedia Powered Enigmatic God
More information about the ffmpeg-devel
mailing list