From b065ae7d7fb998833f1c44d6e46356e8c5c913b8 Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Thu, 9 Jan 2014 11:54:11 +0000 Subject: [PATCH] plugins: don't apply overlay composition in GLTextureUpload function. The GLTextureUpload function is not in charge of doing the overlay composition if any. https://bugzilla.gnome.org/show_bug.cgi?id=721859 Signed-off-by: Gwenole Beauchesne --- gst/vaapi/gstvaapivideometa_texture.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gst/vaapi/gstvaapivideometa_texture.c b/gst/vaapi/gstvaapivideometa_texture.c index 8d96770..bb7bcea 100644 --- a/gst/vaapi/gstvaapivideometa_texture.c +++ b/gst/vaapi/gstvaapivideometa_texture.c @@ -96,10 +96,6 @@ gst_vaapi_texture_upload(GstVideoGLTextureUploadMeta *meta, guint texture_id[4]) return FALSE; gst_vaapi_texture_unref(texture); } - - if (!gst_vaapi_apply_composition(surface, meta->buffer)) - GST_WARNING("could not update subtitles"); - return gst_vaapi_texture_put_surface(meta_texture->texture, surface, gst_vaapi_video_meta_get_render_flags(vmeta)); } -- 2.7.4