summaryrefslogtreecommitdiffstats
path: root/ext/speex/gstspeexdec.c
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-08-22 10:32:34 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-08-22 10:32:34 +0000
commit177751c892f16e1d6640b6e381b155bebe3bfe56 (patch)
tree10948562887be9f9447482b031948a50b9e53e13 /ext/speex/gstspeexdec.c
parent539c398b3e23e9623cbfa2608b4da1cbdf517e85 (diff)
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.
Diffstat (limited to 'ext/speex/gstspeexdec.c')
-rw-r--r--ext/speex/gstspeexdec.c3
1 files changed, 1 insertions, 2 deletions
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");