From fc4c49157c9680fd0b4861225001ef77cfe46faf Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 30 May 2011 13:01:54 +0200 Subject: [PATCH] Revert "dvdspu: Fix pad templates" This reverts commit 732828e31cbace59e6ce4f262b8339e43ed0c631. It was in fact an issue in core --- gst/dvdspu/gstdvdspu.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/gst/dvdspu/gstdvdspu.c b/gst/dvdspu/gstdvdspu.c index a68cdd5c4e..89b63d8999 100644 --- a/gst/dvdspu/gstdvdspu.c +++ b/gst/dvdspu/gstdvdspu.c @@ -55,18 +55,16 @@ 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 ]," - "framerate = " GST_VIDEO_FPS_RANGE) + GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc) { I420 }, " + "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]") /* 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 ]," - "framerate = " GST_VIDEO_FPS_RANGE) + GST_STATIC_CAPS ("video/x-raw-yuv, " "format = (fourcc) { I420 }, " + "width = (int) [ 16, 4096 ], " "height = (int) [ 16, 4096 ]") /* FIXME: Can support YV12 one day too */ );