+2005-10-17 Julien MOUTTE <julien@moutte.net>
+
+ * ext/libpng/gstpngdec.c: (gst_pngdec_init): We use fixed caps.
+
2005-10-17 Julien MOUTTE <julien@moutte.net>
* gst/videobox/gstvideobox.c: (gst_video_box_transform_caps),
GST_STATIC_PAD_TEMPLATE ("sink",
GST_PAD_SINK,
GST_PAD_ALWAYS,
- GST_STATIC_CAPS ("image/png, "
- "width = (int) [ 16, 4096 ], "
- "height = (int) [ 16, 4096 ], " "framerate = (double) [ 0.0, MAX ]")
+ GST_STATIC_CAPS ("image/png")
);
static void
{
pngdec->sinkpad = gst_pad_new_from_template (gst_static_pad_template_get
(&gst_pngdec_sink_pad_template), "sink");
+ gst_pad_use_fixed_caps (pngdec->sinkpad);
gst_element_add_pad (GST_ELEMENT (pngdec), pngdec->sinkpad);
pngdec->srcpad = gst_pad_new_from_template (gst_static_pad_template_get
(&gst_pngdec_src_pad_template), "src");
+ gst_pad_use_fixed_caps (pngdec->srcpad);
gst_element_add_pad (GST_ELEMENT (pngdec), pngdec->srcpad);
gst_pad_set_chain_function (pngdec->sinkpad, gst_pngdec_chain);