[Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscalelibrary
Thu Aug 31 23:06:53 CEST 2006
> On Thu, Aug 31, 2006 at 07:15:42PM +0200, V?ctor Paesa wrote:
>> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2504 bytes
Desc: not available
More information about the ffmpeg-devel