ext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 23 Jan 2006 18:37:16 +0000 (18:37 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 23 Jan 2006 18:37:16 +0000 (18:37 +0000)
commitf0e3a8e101d1d796c271f53543e19eeaf8367044
tree632612ef20915f7377e7fcd8ec50e68b7cdddb5f
parent9b224309a25f5558b923d29a10e23c48f36dd064
ext/lame/gstlame.*: Contrary to what the const char in the lame API might suggest, lame expects us to keep the string...

Original commit message from CVS:
* ext/lame/gstlame.c: (gst_lame_finalize), (gst_lame_class_init),
(gst_lame_init), (add_one_tag), (gst_lame_set_metadata):
* ext/lame/gstlame.h:
Contrary to what the const char in the lame API might suggest,
lame expects us to keep the strings we pass to id3tag_set_foo()
around; it doesn't free them either though, so we have to store
them somewhere and free them later when we can be sure lame
doesn't need them any longer.
ChangeLog
ext/lame/gstlame.c
ext/lame/gstlame.h