[FFmpeg-devel] Droping old scaler
Fri Sep 5 17:06:59 CEST 2008
Michael Niedermayer wrote:
>> I agree with everything, but wouldn't it be better to go for a "softer"
>> strategy such as:
>> 1) remove the old scaler interface first (as far as I remember, we
>> just need to increase the lavc version)
> patch welcome
Well, it was easy until few weeks ago... But I see that now there is a
renamed field that requires massive changes. I have no time for it right
now; I'll try to prepare a patch in the next days.
>> 2) after that, make swscale the default, having a "--disable-swscale"
>> switch for enabling the old scaler. When such option is selected,
>> it prints something like "WARNING! On 2009/1/1, the old scaler will
>> be selected, and this option will be removed" (2009/1/1 is just an
>> 3) on 2009/1/1, remove the scaler
> I dont see the point in this
Just force the people to see "this feature will be removed on ..." if
they want the LGPLed scaler. Maybe, we can be lucky and someone can
send a patch before that date ;-)
> its more work for us and some people will
> waste time trying to keep using the old scaler. Id like to keep the time
> we have 2 scalers short, they coexisted long enough and people could have
> guessed we would drop the old eventually.
The problem is that we never removed the old API, and maybe this confused
Anyway, I see your point. I just had that idea and I thought that it
could help the transition, but I am not going to defend it too much...
More information about the ffmpeg-devel