mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
dvdspu: Fix pad templates
Our caps intersection code is a bit too touchy about what an element returns compared to its pad templates.
This commit is contained in:
parent
b7e93e6eae
commit
732828e31c
1 changed files with 6 additions and 4 deletions
|
@ -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 */
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue