Original commit message from CVS:
* gst/ffmpegcolorspace/gstffmpegcolorspace.c:
(gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
(gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_chain):
Well, unreffing a buffer right before pushing it is asking
for trouble..
+2005-05-06 Wim Taymans <wim@fluendo.com>
+
+ * gst/ffmpegcolorspace/gstffmpegcolorspace.c:
+ (gst_ffmpegcsp_getcaps), (gst_ffmpegcsp_configure_context),
+ (gst_ffmpegcsp_setcaps), (gst_ffmpegcsp_chain):
+ Well, unreffing a buffer right before pushing it is asking
+ for trouble..
+
2005-05-06 Christian Schaller <uraeus@gnome.org>
* pkgconfig/gstreamer-libs.pc.in: add missing library calls
par = gst_structure_get_value (structure, "pixel-aspect-ratio");
if (!gst_ffmpegcsp_configure_context (pad, caps, width, height))
- return FALSE;
+ goto configure_error;
*prefered = caps;
space->height = height;
return TRUE;
+
+configure_error:
+ {
+ GST_DEBUG ("could not configure context");
+ return FALSE;
+ }
}
static GType
}
if (space->from_pixfmt == space->to_pixfmt) {
+ GST_DEBUG ("passthrough conversion %" GST_PTR_FORMAT,
+ GST_PAD_CAPS (space->srcpad));
outbuf = inbuf;
- gst_buffer_unref (outbuf);
} else {
/* convert */
gst_ffmpegcsp_avpicture_fill (&space->from_frame,