diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2006-08-22 10:32:34 +0000 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2006-08-22 10:32:34 +0000 |
commit | 177751c892f16e1d6640b6e381b155bebe3bfe56 (patch) | |
tree | 10948562887be9f9447482b031948a50b9e53e13 /ext/speex/gstspeexdec.c | |
parent | 539c398b3e23e9623cbfa2608b4da1cbdf517e85 (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.c | 3 |
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"); |