glimagesinkbin: Add allocation query for GstVideoOverlayComposition
authorLubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
Mon, 20 Jul 2015 18:24:22 +0000 (14:24 -0400)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Mon, 20 Jul 2015 18:41:12 +0000 (14:41 -0400)
commit2fb862b34fbe1f7713381144800f863aad1ef16f
tree5da69945ab13b377daf8982debb94180e12a2faa
parent555428872c72e10a4a4eb47d48588a81130cec71
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