[xiph-commits] r13272 - in trunk/ezstream: . src

moritz at svn.xiph.org moritz at svn.xiph.org
Sun Jul 15 17:32:17 PDT 2007


Author: moritz
Date: 2007-07-15 17:32:17 -0700 (Sun, 15 Jul 2007)
New Revision: 13272

Modified:
   trunk/ezstream/NEWS
   trunk/ezstream/src/ezstream.c
Log:
D'oh! Make <stream_once/> work with playlists as well. Problem description
found in the Icecast mailing list archive, in a mail by Geoff Shang, via
Google. Let's hope that the bug tracker prevents this kind of bug hunting
in the future ...


Modified: trunk/ezstream/NEWS
===================================================================
--- trunk/ezstream/NEWS	2007-07-16 00:24:50 UTC (rev 13271)
+++ trunk/ezstream/NEWS	2007-07-16 00:32:17 UTC (rev 13272)
@@ -1,3 +1,11 @@
+Changes in 0.4.2 (SVN):
+
+ * src/ezstream.c:
+   - [FIX]   Make <stream_once/> work with playlists, too. Problem found by
+             Geoff Shang <geoff at quitelikely dot com>.
+
+
+
 Changes in 0.4.1, released on 2007-07-15:
 
  * src/ezstream.c:

Modified: trunk/ezstream/src/ezstream.c
===================================================================
--- trunk/ezstream/src/ezstream.c	2007-07-16 00:24:50 UTC (rev 13271)
+++ trunk/ezstream/src/ezstream.c	2007-07-16 00:32:17 UTC (rev 13272)
@@ -1291,14 +1291,14 @@
 
 		ret = 1;
 		do {
-			if (playlistMode)
+			if (playlistMode) {
 				ret = streamPlaylist(shout,
 						     pezConfig->fileName);
-			else {
+			} else {
 				ret = streamFile(shout, pezConfig->fileName);
-				if (pezConfig->streamOnce)
-					break;
 			}
+			if (pezConfig->streamOnce)
+				break;
 		} while (ret);
 	} else
 		printf("%s: Connection to http://%s:%d%s failed: %s\n", __progname,



More information about the commits mailing list