changeset 546:c712bcf64b14 trunk

[svn] - this should have been a VFSVorbisFile, not a direct VFS fd
author nenolod
date Thu, 25 Jan 2007 04:50:20 -0800
parents f9dc3d58207a
children 689a2e159211
files ChangeLog src/vorbis/vorbis.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Jan 25 04:43:18 2007 -0800
+++ b/ChangeLog	Thu Jan 25 04:50:20 2007 -0800
@@ -1,3 +1,11 @@
+2007-01-25 12:43:18 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1176]
+  - display the stream title if it's available, like in mp3 streams
+  
+  trunk/src/vorbis/vorbis.c |   11 +++++++++++
+  1 file changed, 11 insertions(+)
+
+
 2007-01-25 09:39:09 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1174]
   - fix a warning
--- a/src/vorbis/vorbis.c	Thu Jan 25 04:43:18 2007 -0800
+++ b/src/vorbis/vorbis.c	Thu Jan 25 04:50:20 2007 -0800
@@ -859,7 +859,7 @@
         displaytitle = g_strdup(input->file_name);
     }
 
-    if ((tmp = vfs_get_metadata((VFSFile *) vorbisfile->datasource, "stream-name")) != NULL)
+    if ((tmp = vfs_get_metadata(((VFSVorbisFile *) vorbisfile->datasource)->fd, "stream-name")) != NULL)
     {
         gchar *old = displaytitle;
         displaytitle = g_strdup_printf("%s (%s)", displaytitle, tmp);