summaryrefslogtreecommitdiff
path: root/libavdevice/opengl_enc.c
diff options
context:
space:
mode:
authorLukasz Marek <lukasz.m.luki@gmail.com>2014-02-02 01:21:53 +0100
committerLukasz Marek <lukasz.m.luki@gmail.com>2014-02-02 02:23:25 +0100
commit69b19f2642c34b0ad81eeaaf182e2b5158dfb07c (patch)
tree8e6131a96a32a54974dca5fdf22339b4f2947d90 /libavdevice/opengl_enc.c
parent1fb1ddf64749cd8ab023f2ab92e9a6e6dc7dde98 (diff)
lavd/opengl_enc: fix window caption
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r--libavdevice/opengl_enc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index 7e5da48224..d4516a3752 100644
--- a/libavdevice/opengl_enc.c
+++ b/libavdevice/opengl_enc.c
@@ -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;
}