mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
vaapisink: Fix the conditional pad template creation.
This commit is contained in:
parent
2d64321313
commit
34a4748d3d
1 changed files with 2 additions and 4 deletions
|
@ -65,13 +65,11 @@ static const char gst_vaapisink_sink_caps_str[] =
|
|||
GST_CAPS_FEATURE_MEMORY_VAAPI_SURFACE ","
|
||||
GST_CAPS_FEATURE_META_GST_VIDEO_OVERLAY_COMPOSITION,
|
||||
"{ ENCODED, NV12, I420, YV12 }") ";"
|
||||
#endif
|
||||
GST_VIDEO_CAPS_MAKE (GST_VIDEO_FORMATS_ALL) ";"
|
||||
#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);
|
||||
GST_VIDEO_FORMATS_ALL) ";"
|
||||
#endif
|
||||
GST_VIDEO_CAPS_MAKE (GST_VIDEO_FORMATS_ALL);
|
||||
/* *INDENT-ON* */
|
||||
|
||||
static GstStaticPadTemplate gst_vaapisink_sink_factory =
|
||||
|
|
Loading…
Reference in a new issue