summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
blob: b38fc24e66df821423566102752192084fb2ff6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -urN xmms-mad-0.8.orig/src/decoder.c xmms-mad-0.8/src/decoder.c
--- xmms-mad-0.8.orig/src/decoder.c	2006-04-03 22:07:29.000000000 -0400
+++ xmms-mad-0.8/src/decoder.c	2006-04-03 22:33:46.000000000 -0400
@@ -493,7 +493,7 @@
     {
       mad_plugin.output->buffer_free ();
       mad_plugin.output->buffer_free ();
-      while (mad_plugin.output->buffer_playing ())
+      while (mad_plugin.output->buffer_playing () && !info->stop)
         usleep (10000);
     }