diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-09-14 13:07:18 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2011-09-14 13:10:25 +0200 |
commit | 6b1107cef728d86800ec47f62ecb6110d742ba9b (patch) | |
tree | 6fceb6345cc71f869451ea179f7d06111fd2bf3a | |
parent | c94dde647ce84502fe1eb7b5f0691d6db1e64443 (diff) | |
download | gst-vaapi-6b1107cef728d86800ec47f62ecb6110d742ba9b.tar.gz |
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
-rw-r--r-- | gst/vaapidecode/gstvaapidecode.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gst/vaapidecode/gstvaapidecode.c b/gst/vaapidecode/gstvaapidecode.c index 4282a423..13dad07e 100644 --- a/gst/vaapidecode/gstvaapidecode.c +++ b/gst/vaapidecode/gstvaapidecode.c @@ -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") |