vaapidecode: fix sink caps to not expose size information.

This fixes this particular issue:
GStreamer-WARNING **: pad vaapidecode0:sink returned caps which are not
a real subset of its template caps
This commit is contained in:
Gwenole Beauchesne 2011-09-14 13:07:18 +02:00
parent c94dde647c
commit 6b1107cef7

View file

@ -50,10 +50,7 @@ static const GstElementDetails gst_vaapidecode_details =
"Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>");
/* 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")