From 177751c892f16e1d6640b6e381b155bebe3bfe56 Mon Sep 17 00:00:00 2001 From: Tim-Philipp Müller Date: Tue, 22 Aug 2006 10:32:34 +0000 Subject: ext/speex/gstspeexdec.c: Make metadata extraction actually work. Original commit message from CVS: * ext/speex/gstspeexdec.c: (speex_dec_chain_parse_comments): Make metadata extraction actually work. * ext/speex/gstspeexenc.c: (gst_speexenc_base_init), (gst_speexenc_init), (gst_speexenc_create_metadata_buffer), (gst_speexenc_chain): Fix metadata writing: replace old code which wrote completely broken tags with libgsttag-based code. Plus miscellaneous code cleanups (use static pad templates etc.) and a bunch of leak fixes. --- ext/speex/gstspeexdec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/speex/gstspeexdec.c') diff --git a/ext/speex/gstspeexdec.c b/ext/speex/gstspeexdec.c index d20573d8..35b61457 100644 --- a/ext/speex/gstspeexdec.c +++ b/ext/speex/gstspeexdec.c @@ -564,8 +564,7 @@ speex_dec_chain_parse_comments (GstSpeexDec * dec, GstBuffer * buf) GstTagList *list; gchar *ver, *encoder = NULL; - list = gst_tag_list_from_vorbiscomment_buffer (buf, - (const guint8 *) "", 1, &encoder); + list = gst_tag_list_from_vorbiscomment_buffer (buf, NULL, 0, &encoder); if (!list) { GST_WARNING_OBJECT (dec, "couldn't decode comments"); -- cgit