Mercurial > audlegacy
changeset 2489:e56a55d07935 trunk
[svn] - revise r3986 to only override tuple->track_name on lengthless streams
author | nenolod |
---|---|
date | Thu, 08 Feb 2007 08:42:01 -0800 |
parents | c5075a79f1aa |
children | 49e27e4d8426 |
files | ChangeLog src/audacious/build_stamp.c src/audacious/playlist.c |
diffstat | 3 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Feb 08 07:00:02 2007 -0800 +++ b/ChangeLog Thu Feb 08 08:42:01 2007 -0800 @@ -1,3 +1,13 @@ +2007-02-08 15:00:02 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> + revision [3986] + make input->set_info overwrite tuple->track_name. it allows input + plugins to update fileinfopopup along with meta data in a stream. it + may incur side effects, please let me know if you find any problem. + + trunk/src/audacious/playlist.c | 8 ++++++++ + 1 file changed, 8 insertions(+) + + 2007-02-08 09:43:09 +0000 Yoshiki Yazawa <yaz@cc.rim.or.jp> revision [3984] - suppress warning
--- a/src/audacious/build_stamp.c Thu Feb 08 07:00:02 2007 -0800 +++ b/src/audacious/build_stamp.c Thu Feb 08 08:42:01 2007 -0800 @@ -1,2 +1,2 @@ #include <glib.h> -const gchar *svn_stamp = "20070208-3984"; +const gchar *svn_stamp = "20070208-3986";
--- a/src/audacious/playlist.c Thu Feb 08 07:00:02 2007 -0800 +++ b/src/audacious/playlist.c Thu Feb 08 08:42:01 2007 -0800 @@ -976,7 +976,7 @@ playlist->position->length = length; // overwrite tuple->track_name, mainly for streaming. it may incur side effects. --yaz - if(playlist->position->tuple){ + if(playlist->position->tuple && length == -1){ if(playlist->position->tuple->track_name){ g_free(playlist->position->tuple->track_name); }