changeset 762:59b4bce10c3b trunk

[svn] - enable seeking on HTTP streams.
author nenolod
date Wed, 28 Feb 2007 21:16:10 -0800
parents 7ffb93bce2d2
children 58dcfb61cf76
files ChangeLog src/madplug/decoder.c src/madplug/plugin.c
diffstat 3 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 28 21:02:06 2007 -0800
+++ b/ChangeLog	Wed Feb 28 21:16:10 2007 -0800
@@ -1,3 +1,11 @@
+2007-03-01 05:02:06 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
+  revision [1620]
+  - support id3 reading of static files
+  
+  trunk/src/madplug/plugin.c |    2 +-
+  1 file changed, 1 insertion(+), 1 deletion(-)
+
+
 2007-03-01 03:48:28 +0000  William Pitcock <nenolod@sacredspiral.co.uk>
   revision [1618]
   - add tuple building for ADTS/Shoutcast streams
--- a/src/madplug/decoder.c	Wed Feb 28 21:02:06 2007 -0800
+++ b/src/madplug/decoder.c	Wed Feb 28 21:16:10 2007 -0800
@@ -476,7 +476,7 @@
         }
 
         while (info->playback->playing) {
-            if (info->seek != -1 && !info->remote) {
+            if (info->seek != -1 && info->size != 0) {
 #ifdef DEBUG
                 g_message("seeking: %d", info->seek);
 #endif
--- a/src/madplug/plugin.c	Wed Feb 28 21:02:06 2007 -0800
+++ b/src/madplug/plugin.c	Wed Feb 28 21:16:10 2007 -0800
@@ -371,7 +371,6 @@
     /* xmms gives us the desired seek time in seconds */
     info.seek = time;
     g_mutex_unlock(pb_mutex);
-
 }
 
 /**