GNOME Bugzilla – Bug 721859
plugins: do not apply overlay composition in the GLTextureUpload function
Last modified: 2014-01-14 18:16:30 UTC
The GLTextureUpload function is not supposed to be in charge of doing the overlay composition if any.
Created attachment 265828 [details] [review] plugins: do not apply overlay composition in the GLTextureUpload function
Hi, what about the GstSurfaceMeta::upload() one for GStreamer 1.0? Thanks. Historically, I uploaded the video overlay into the texture because very few sinks could actually handle the overlay rectangles correctly. What sink do you have in mind?
(In reply to comment #2) > Hi, what about the GstSurfaceMeta::upload() one for GStreamer 1.0? Thanks. > > Historically, I uploaded the video overlay into the texture because very few > sinks could actually handle the overlay rectangles correctly. What sink do you > have in mind? cluttersink, see: https://bugzilla.gnome.org/show_bug.cgi?id=721925 As I said i don't think the overlay composition should be done in the upload function because it is not intended to do so and for example you can deal with interlaced images and applying an overlay ontop of fields before any possible deinterlacing is not correct.
I am fine to drop it if sinks implement that instead. As I mentioned, I applied the overlay composition at gst-vaapi level because no GL sink handled that. :)
Applied, thanks.
commit b065ae7d7fb998833f1c44d6e46356e8c5c913b8 Author: Matthieu Bouron <matthieu.bouron@collabora.com> Date: Thu Jan 9 11:54:11 2014 +0000 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>