diff --git a/gst/vaapidecode/gstvaapidecode.c b/gst/vaapidecode/gstvaapidecode.c index 4282a4232a..13dad07ed1 100644 --- a/gst/vaapidecode/gstvaapidecode.c +++ b/gst/vaapidecode/gstvaapidecode.c @@ -50,10 +50,7 @@ static const GstElementDetails gst_vaapidecode_details = "Gwenole Beauchesne "); /* Default templates */ -#define GST_CAPS_CODEC(CODEC) \ - CODEC ", " \ - "width = (int) [ 1, MAX ], " \ - "height = (int) [ 1, MAX ]; " +#define GST_CAPS_CODEC(CODEC) CODEC "; " static const char gst_vaapidecode_sink_caps_str[] = GST_CAPS_CODEC("video/mpeg, mpegversion=2, systemstream=(boolean)false")