[FFmpeg-devel] [PATCH] libavfilter-soc: implement draw_slice in vf_setpts.c

Michael Niedermayer michaelni
Fri Jan 2 16:25:34 CET 2009


On Fri, Jan 02, 2009 at 12:00:30PM +0100, V?ctor Paesa wrote:
> Hi,
> 
> Stefano Sabatini said:
> > Hi all,
> >
> > vf_setpts.c currently has no draw_slice callback, when used in a
> > filter chain like this:
> >
> > ffplay -f video4linux -s 320x240 /dev/video -vfilters "[in]
> > setpts=PTS-STARTPTS, hflip, [T1] overlay=0:0 [out]; SOME_SOURCE,
> > setpts=PTS-STARTPTS [T1]"
> >
> > no .draw_slice function is called from setpts, resulting in no picture
> > being passed to the hflip filter, patch fixes it.
> 
> Thanks Stefano, it fixes the green background reported in:
> http://lists.mplayerhq.hu/pipermail/ffmpeg-user/2008-November/017726.html
> 
> I'd say it's OK.

is there a reason why its not done in avfilter_draw_slice() ?

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- 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/20090102/a1529ba1/attachment.pgp>



More information about the ffmpeg-devel mailing list