From e64b07eaede82299330744e629d5651404ab7575 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Sun, 28 Oct 2012 18:32:15 +0200 Subject: [PATCH] OpenGL: enable SPU blending --- modules/video_output/gl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/video_output/gl.c b/modules/video_output/gl.c index a7acdd3df1..a396bae666 100644 --- a/modules/video_output/gl.c +++ b/modules/video_output/gl.c @@ -138,13 +138,15 @@ static int Open (vlc_object_t *obj) goto error; /* Initialize video display */ - sys->vgl = vout_display_opengl_New (&vd->fmt, NULL, sys->gl); + const vlc_fourcc_t *spu_chromas; + sys->vgl = vout_display_opengl_New (&vd->fmt, &spu_chromas, sys->gl); if (!sys->vgl) goto error; vd->sys = sys; vd->info.has_pictures_invalid = false; vd->info.has_event_thread = false; + vd->info.subpicture_chromas = spu_chromas; vd->pool = Pool; vd->prepare = PictureRender; vd->display = PictureDisplay; -- 2.39.2