vaapisink: set csc render flags from sinkpad caps.
authorHolger Kaelberer <hk@getslash.de>
Wed, 15 Jan 2014 11:09:14 +0000 (12:09 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 15 Jan 2014 13:24:32 +0000 (14:24 +0100)
commitb1d3f7d4c0f3be8ec1f82aa00516596cafb7a0a2
treea7842801f5cf00d8de5ac9f698ae6b43f9ffce8d
parent751aa05937d736503fce22ba784820f7184f0b40
vaapisink: set csc render flags from sinkpad caps.

This maps GstVideoColorimetry information in vaapisink's sinkpad caps
to GST_VAAPI_COLOR_STANDARD_* flags, if per-buffer information was not
available.

https://bugzilla.gnome.org/show_bug.cgi?id=722255

[factored out code, added SMPTE240M, handle per-buffer flags]
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst/vaapi/gstvaapisink.c
gst/vaapi/gstvaapisink.h