Skip to content
Snippets Groups Projects
Commit 69b19f26 authored by Lukasz Marek's avatar Lukasz Marek
Browse files

lavd/opengl_enc: fix window caption

parent 1fb1ddf6
No related branches found
No related tags found
No related merge requests found
...@@ -407,6 +407,7 @@ static int av_cold opengl_sdl_create_window(AVFormatContext *h) ...@@ -407,6 +407,7 @@ static int av_cold opengl_sdl_create_window(AVFormatContext *h)
av_log(opengl, AV_LOG_INFO, "SDL driver: '%s'.\n", SDL_VideoDriverName(buffer, sizeof(buffer))); av_log(opengl, AV_LOG_INFO, "SDL driver: '%s'.\n", SDL_VideoDriverName(buffer, sizeof(buffer)));
message.width = opengl->surface->w; message.width = opengl->surface->w;
message.height = opengl->surface->h; message.height = opengl->surface->h;
SDL_WM_SetCaption(opengl->window_title, NULL);
opengl_control_message(h, AV_APP_TO_DEV_WINDOW_SIZE, &message, sizeof(AVDeviceRect)); opengl_control_message(h, AV_APP_TO_DEV_WINDOW_SIZE, &message, sizeof(AVDeviceRect));
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment