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

Víctor Paesa wzrlpy
Thu Aug 31 23:06:53 CEST 2006


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.

Regards,
V?ctor Paesa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg.swscale.swscale.2.patch
Type: application/octet-stream
Size: 2504 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060831/f1eed201/attachment.obj>



More information about the ffmpeg-devel mailing list