glimagesinkbin: Add allocation query for GstVideoOverlayComposition
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
Mon, 20 Jul 2015 18:24:22 +0000 (14:24 -0400)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:06 +0000 (19:32 +0000)
commit052b0a1caf2cc1768de81c368e7f3371e77e8e71
tree451253bb40b819334d1ded59bb447afd9d582c83
parent26e6be8fad42420863830ac3100c8e433b211f32
glimagesinkbin: Add allocation query for GstVideoOverlayComposition

Adds an GST_VIDEO_OVERLAY_COMPOSITION_META_API_TYPE query to glupload
and glimagesink.  Detects the query from the downstream elements, so
it is executed only when downstream supports the overlay API.

This makes pipelines with textoverlay ! glupload ! gldownload ! xvimagesink possible.
Uses allocation meta struct for passing the window size upstream.

https://bugzilla.gnome.org/show_bug.cgi?id=745107
ext/gl/gstglimagesink.c
ext/gl/gstgluploadelement.c