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 <gwenole.beauchesne@intel.com>
This commit is contained in:
Matthieu Bouron 2014-01-09 11:54:11 +00:00 committed by Gwenole Beauchesne
parent c03682ecc1
commit b065ae7d7f

View 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));
}