[Ffmpeg-devel] img_convert() ???

Michael Niedermayer michaelni
Wed Mar 22 17:28:57 CET 2006


Hi

On Wed, Mar 22, 2006 at 03:23:34PM +0100, Luca Abeni wrote:
> Hi Michael,
> 
> On Wed, 2006-03-22 at 13:49 +0100, Michael Niedermayer wrote:
> [...]
> > > Now, what's the purpose of this img_convert? It seems that it's just
> > > copying picture in picture2, No? So, why not using img_copy? Also, why
> > > is a copy needed at all? I think I am really missing something here...
> > 
> > i think that the
> > if (do_deinterlace || using_vhook) {
> > before this explans half of it
> > 
> > either we need deinterlacing or we do some filtering with vhook which
> > will modify the image IIRC and lavc exports its internal buffers which dont
> > like being modified
> Ah, ok... I knew I was missing something :)
> 
> So, img_copy() seems to be more correct. Is the attached patch ok?

probably ...

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list