[Ffmpeg-devel] [PATCH] Add sws_getCachedContext() to swscale library
Michael Niedermayer
michaelni
Thu Aug 31 20:42:52 CEST 2006
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
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel
mailing list