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

Josh de Kock josh at itanimul.li
Wed Sep 14 21:53:54 EEST 2016

On 14/09/2016 18: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>
> Although your port of the code to SDL2 address my concern about deprecating
> without a replacement, I would be pained if this code were to be removed.
What is your attachment to the SDL1 library?

> I still hope that lavd can become powerful and usable enough to serve as a
> base for applications, at least simple ones. (Actually, I have a simple
> music player running right now that does just that.) If that were to happen,
> OpenGL would be the figurehead of the video output part.
Firstly, the OpenGL device doesn't have the best implementation, and 
lavd really doesn't seem like the right place for this. You'd be better 
off writing your own from scratch or using something like libmpv (which 
has a proper renderer).

> 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.
Sorry, I'm not sure how you think the SDL device can be used without SDL.


More information about the ffmpeg-devel mailing list