summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-plugins/xmms-mad/files/xmms-mad-0.8-song_change.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
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);
+ }
+