[FFmpeg-devel] [PATCH] Implement recusive avfilter_get_video_buffer()

Michael Niedermayer michaelni
Fri Oct 16 14:58:20 CEST 2009


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

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- 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/20091016/a2e76970/attachment.pgp>



More information about the ffmpeg-devel mailing list