diff options
author | Edward Hervey <bilboed@bilboed.com> | 2011-05-29 18:16:49 +0200 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2011-05-29 18:17:55 +0200 |
commit | 732828e31cbace59e6ce4f262b8339e43ed0c631 (patch) | |
tree | 1b4c04024bf9280c265fe3274c2d4af15efb5999 | |
parent | b7e93e6eaecfc6943499ae4ac38184bb855e263a (diff) |
dvdspu: Fix pad templates
Our caps intersection code is a bit too touchy about what an element
returns compared to its pad templates.
-rw-r--r-- | gst/dvdspu/gstdvdspu.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index 89b63d899..a68cdd5c4 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -55,16 +55,18 @@ static GstStaticPadTemplate video_sink_factory = GST_STATIC_PAD_TEMPLATE ("video", GST_PAD_SINK, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc) { I420 }, " - "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]") + GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc)I420, " + "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]," + "framerate = " GST_VIDEO_FPS_RANGE) /* FIXME: Can support YV12 one day too */ ); static GstStaticPadTemplate src_factory = GST_STATIC_PAD_TEMPLATE ("src", GST_PAD_SRC, GST_PAD_ALWAYS, - GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc) { I420 }, " - "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]") + GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc)I420, " + "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]," + "framerate = " GST_VIDEO_FPS_RANGE) /* FIXME: Can support YV12 one day too */ ); |