Browse Source

lavd/opengl_enc: fix window caption

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
tags/n2.2-rc1
Lukasz Marek 11 years ago
parent
commit
69b19f2642
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavdevice/opengl_enc.c

+ 1
- 0
libavdevice/opengl_enc.c View 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;
}


Loading…
Cancel
Save