Original commit message from CVS:
Patch by: Daniel Drake <dsd at laptop dot org>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_clear_collectpads):
Unref all buffers when clearing collectpads. Fixes bug #546955.
2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+ Patch by: Daniel Drake <dsd at laptop dot org>
+
+ * ext/ogg/gstoggmux.c: (gst_ogg_mux_clear_collectpads):
+ Unref all buffers when clearing collectpads. Fixes bug #546955.
+
+2008-10-08 Sebastian Dröge <sebastian.droege@collabora.co.uk>
+
Based on a patch by: Klaas <klaas at rivercrew dot net>
* ext/vorbis/vorbisenc.c: (gst_vorbis_enc_sink_event),
}
g_queue_free (oggpad->pagebuffers);
oggpad->pagebuffers = NULL;
+
+ if (oggpad->buffer) {
+ gst_buffer_unref (oggpad->buffer);
+ oggpad->buffer = NULL;
+ }
+ if (oggpad->next_buffer) {
+ gst_buffer_unref (oggpad->next_buffer);
+ oggpad->next_buffer = NULL;
+ }
}
}