[Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscalelibrary

Guillaume POIRIER gpoirier
Mon Sep 4 09:47:07 CEST 2006


Hi,

On 8/31/06, V?ctor Paesa <wzrlpy at arsystel.com> wrote:
> Hi,
>
> > Hi
> >
> > On Thu, Aug 31, 2006 at 07:15:42PM +0200, V?ctor Paesa wrote:
> >> Hi,
> >>
> >> While porting the vhooks to swscale I found myself copying&pasting
> >> the same code over and over, to support streams that change dimensions.
> >>
> >> This function sws_getCachedContext() in the attached patch would save me
> >> a lot of typing, plus increasing legibility.
> >
> > iam fine with the patch, except that a non zero filter forces a reinit
> > IMHO it would be better to assume that the filters didnt change
> >
>
> OK, here is a new patch with that asumption.

Michael, ping?

A patch that was checked-in this week-end depends on this patch...

Guillaume
-- 
A thing is not necessarily true because a man dies for it.
-- Oscar Wilde




More information about the ffmpeg-devel mailing list