"format", GST_PROPS_LIST (
GST_PROPS_STRING ("strf_vids"),
GST_PROPS_STRING ("strf_iavs")
- )
+ ),
+ "width", GST_PROPS_INT_RANGE (16, 4096),
+ "height", GST_PROPS_INT_RANGE (16, 4096)
+
),
GST_CAPS_NEW (
"avidemux_src_video",
"format", GST_PROPS_LIST (
GST_PROPS_STRING ("NTSC"),
GST_PROPS_STRING ("PAL")
- )
+ ),
+ "width", GST_PROPS_INT_RANGE (16, 4096),
+ "height", GST_PROPS_INT_RANGE (16, 4096)
)
)
"imp_colors", GST_PROPS_INT (GUINT32_FROM_LE (strf->imp_colors))
));
- /* whoa, it doesn't fit, let's try some gstreamer-like mime-type caps */
+ /* let's try some gstreamer-like mime-type caps */
switch (GUINT32_FROM_LE(strf->compression))
{
case GST_MAKE_FOURCC('I','4','2','0'):
if (newcaps) capslist = gst_caps_append(capslist, newcaps);
- gst_pad_try_set_caps(srcpad, newcaps);
+ gst_pad_try_set_caps(srcpad, capslist);
avi_demux->video_pad[avi_demux->num_video_pads++] = srcpad;
gst_element_add_pad (GST_ELEMENT (avi_demux), srcpad);