+2006-07-21 Wim Taymans <wim@fluendo.com>
+
+ * gst/avi/gstavidemux.c: (gst_avi_demux_parse_stream),
+ (gst_avi_demux_process_next_entry):
+ Fix some leaks.
+
+ * gst/id3demux/id3tags.c: (id3demux_id3v2_frames_to_tag_list):
+ Don't use \n in debug lines.
+
2006-07-20 Stefan Kost <ensonic@users.sf.net>
* docs/plugins/gst-plugins-good-plugins-docs.sgml:
gst_element_add_pad (GST_ELEMENT (avi), pad);
GST_LOG_OBJECT (element, "Added pad %s with caps %" GST_PTR_FORMAT,
GST_PAD_NAME (pad), caps);
+ gst_caps_unref (caps);
if (codec_name) {
if (!stream->taglist)
gst_tag_list_add (stream->taglist, GST_TAG_MERGE_APPEND, tag_name,
codec_name, NULL);
+ g_free (codec_name);
}
return TRUE;
gst_buffer_unref (buf);
if (sub)
gst_buffer_unref (sub);
+ g_free (codec_name);
g_free (stream->strh);
g_free (stream->strf.data);
g_free (stream->name);
GST_WARNING_OBJECT (avi, "Short read at offset %" G_GUINT64_FORMAT
", only got %d/%d bytes (truncated file?)", entry->offset +
avi->index_offset, GST_BUFFER_SIZE (buf), entry->size);
+ gst_buffer_unref (buf);
res = stream->last_flow = GST_FLOW_UNEXPECTED;
goto beach;
}
#if 1
GST_LOG
- ("Frame @ %d (0x%02x) id %s size %d, next=%d (0x%02x) obsolete=%d\n",
+ ("Frame @ %d (0x%02x) id %s size %d, next=%d (0x%02x) obsolete=%d",
work->hdr.frame_data - start, work->hdr.frame_data - start, frame_id,
frame_size, work->hdr.frame_data + frame_hdr_size + frame_size - start,
work->hdr.frame_data + frame_hdr_size + frame_size - start,