[FFmpeg-devel] [PATCH v3 3/3] lavd: deprecate opengl outdev

Lukasz Marek lukasz.m.luki2 at gmail.com
Thu Sep 15 23:56:13 EEST 2016


On 14.09.2016 19:53, Nicolas George wrote:
> Le sextidi 26 fructidor, an CCXXIV, Josh de Kock a écrit :
>> This device depends on SDL which is deprecated.
>>
>> Signed-off-by: Josh de Kock <josh at itanimul.li>
>
> If I understand correctly, SDL is only used in this device to set up a
> window and a context in a cross-platform way. I even notice that the code
> can be used without SDL altogether if the applications handles the context
> and window itself.

You are correct. SDL is used just to created default window with opengl 
context. Probably the only use case of this is to test this device with 
following command: ffmpeg -i video -f opengl aaa. The relevant 
implementation is depending on opengl API only and has nothing to do 
with SDL. Removing it just because of switching to SDL 2.0 is 
misunderstanding. I can port SDL part to use 2.0 API, just figure out 
how this will be handled. I mean if you want to support both or just 2.0.


More information about the ffmpeg-devel mailing list