mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
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:
parent
c94dde647c
commit
6b1107cef7
1 changed files with 1 additions and 4 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue