plugins: don't apply overlay composition in GLTextureUpload function.
authorMatthieu Bouron <matthieu.bouron@collabora.com>
Thu, 9 Jan 2014 11:54:11 +0000 (11:54 +0000)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Tue, 14 Jan 2014 18:14:41 +0000 (19:14 +0100)
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 <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapivideometa_texture.c

index 8d96770..bb7bcea 100644 (file)
@@ -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));
 }