[FFmpeg-devel] [PATCH 2/2] avdevice/sdl2 : add option to set window position

Gyan gyandoshi at gmail.com
Mon Oct 8 07:42:36 EEST 2018


On Thu, Oct 4, 2018 at 2:33 AM Dave Rice <dave at dericed.com> wrote:

>
>
> I attempted to add an error message but am uncertain how to access the
> width and height of the canvas used. Any advice?
>

I believe you need to call SDL_GetCurrentDisplayMode.

See https://wiki.libsdl.org/SDL_GetCurrentDisplayMode

Gyan


More information about the ffmpeg-devel mailing list