diff options
author | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2015-06-18 14:55:12 +0300 |
---|---|---|
committer | Sreerenj Balachandran <sreerenj.balachandran@intel.com> | 2015-06-18 14:55:12 +0300 |
commit | 34a4748d3d65fd4df5b2c9b09e066af752f9aeea (patch) | |
tree | bdb6df537f904bfde1208c5723fb61e8df833927 | |
parent | 2d64321313e66ac5d78e870ffec83c9658e29107 (diff) |
vaapisink: Fix the conditional pad template creation.
-rw-r--r-- | gst/vaapi/gstvaapisink.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gst/vaapi/gstvaapisink.c b/gst/vaapi/gstvaapisink.c index 5c78a0b2..8f4eb020 100644 --- a/gst/vaapi/gstvaapisink.c +++ b/gst/vaapi/gstvaapisink.c @@ -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 = |