summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch')
-rw-r--r--media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch b/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
new file mode 100644
index 0000000..b38fc24
--- /dev/null
+++ b/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
@@ -0,0 +1,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);
+ }
+