lavd/opengl_enc: fix window caption
authorLukasz Marek <lukasz.m.luki@gmail.com>
Sun, 2 Feb 2014 00:21:53 +0000 (01:21 +0100)
committerLukasz Marek <lukasz.m.luki@gmail.com>
Sun, 2 Feb 2014 01:23:25 +0000 (02:23 +0100)
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
libavdevice/opengl_enc.c

index 7e5da48..d4516a3 100644 (file)
@@ -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)));
     message.width = opengl->surface->w;
     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));
     return 0;
 }