[xiph-commits] r15891 - icecast/trunk/ices/src

karl at svn.xiph.org karl at svn.xiph.org
Tue Mar 31 18:16:57 PDT 2009


Author: karl
Date: 2009-03-31 18:16:57 -0700 (Tue, 31 Mar 2009)
New Revision: 15891

Modified:
   icecast/trunk/ices/src/im_playlist.c
Log:
only warn if we see duplicte serial numbers, icecast has detected this case
for some time and rebuilds the streams so listeners will not see this


Modified: icecast/trunk/ices/src/im_playlist.c
===================================================================
--- icecast/trunk/ices/src/im_playlist.c	2009-03-31 14:29:40 UTC (rev 15890)
+++ icecast/trunk/ices/src/im_playlist.c	2009-04-01 01:16:57 UTC (rev 15891)
@@ -167,12 +167,8 @@
             if (ogg_page_bos (&og))
             {
                if (ogg_page_serialno (&og) == pl->current_serial)
-               {
-                   LOG_WARN1 ("Skipping \"%s\" as the serial number is the same as previous", pl->filename);
-                   pl->nexttrack = 1;
-                   pl->errors++;
-                   return 0;
-               }
+                   LOG_WARN1 ("detected duplicate serial number reading \"%s\"", pl->filename);
+
                pl->current_serial = ogg_page_serialno (&og);
             }
             if (input_calculate_ogg_sleep (&og) < 0)



More information about the commits mailing list