mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 02:30:35 +00:00
vaapisink: Expose the overlay capability for compatibility with dvbsuboverlay.
https://bugzilla.gnome.org/show_bug.cgi?id=750095 Signed-off-by: Sreerenj Balachandran <sreerenj.balachandran@intel.com> Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
3241296f67
commit
64acc74d17
1 changed files with 13 additions and 3 deletions
|
@ -57,9 +57,19 @@ GST_DEBUG_CATEGORY_STATIC (gst_debug_vaapisink);
|
|||
/* Default template */
|
||||
/* *INDENT-OFF* */
|
||||
static const char gst_vaapisink_sink_caps_str[] =
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE,
|
||||
"{ ENCODED, NV12, I420, YV12 }") ";"
|
||||
GST_VIDEO_CAPS_MAKE (GST_VIDEO_FORMATS_ALL);
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (
|
||||
GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE
|
||||
#if GST_CHECK_VERSION(1,3,1)
|
||||
"," GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION
|
||||
#endif
|
||||
,"{ ENCODED, NV12, I420, YV12 }") ";"
|
||||
#if GST_CHECK_VERSION(1,3,1)
|
||||
GST_VIDEO_CAPS_MAKE_WITH_FEATURES (
|
||||
GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION,
|
||||
GST_VIDEO_FORMATS_ALL);
|
||||
#else
|
||||
GST_VIDEO_CAPS_MAKE (GST_VIDEO_FORMATS_ALL);
|
||||
#endif
|
||||
/* *INDENT-ON* */
|
||||
|
||||
static GstStaticPadTemplate gst_vaapisink_sink_factory =
|
||||
|
|
Loading…
Reference in a new issue