aboutsummaryrefslogtreecommitdiffstats
path: root/audio/rhythmbox
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-04 05:44:32 +0800
committermarcus <marcus@FreeBSD.org>2003-09-04 05:44:32 +0800
commitff1a49bae51079c935e3a894aff0224eddbee6cb (patch)
tree1ab863b213f965982092a2fb7432542dcb4bd714 /audio/rhythmbox
parenta15af0afe9b578cb2c7482b060a5cacb3ba435da (diff)
downloadfreebsd-ports-gnome-ff1a49bae51079c935e3a894aff0224eddbee6cb.tar.gz
freebsd-ports-gnome-ff1a49bae51079c935e3a894aff0224eddbee6cb.tar.zst
freebsd-ports-gnome-ff1a49bae51079c935e3a894aff0224eddbee6cb.zip
Fix a build problem when WITH_XINE is used.
PR: 56368 Submitted by: Frank Ruell <stoerte@dreamwarrior.net> Obtained from: Rhythmbox CVS
Diffstat (limited to 'audio/rhythmbox')
-rw-r--r--audio/rhythmbox/files/patch-monkey-media-player-xine.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/rhythmbox/files/patch-monkey-media-player-xine.c b/audio/rhythmbox/files/patch-monkey-media-player-xine.c
new file mode 100644
index 000000000000..04f304d49951
--- /dev/null
+++ b/audio/rhythmbox/files/patch-monkey-media-player-xine.c
@@ -0,0 +1,13 @@
+--- monkey-media/monkey-media-player-xine.c.orig Wed Sep 3 14:30:52 2003
++++ monkey-media/monkey-media-player-xine.c Wed Sep 3 14:32:41 2003
+@@ -520,8 +520,10 @@
+ if (xine_get_param (mp->priv->stream, XINE_PARAM_SPEED) == XINE_SPEED_NORMAL)
+ xine_set_param (mp->priv->stream, XINE_PARAM_SPEED, XINE_SPEED_PAUSE);
+
++#ifdef HAVE_XINE_CLOSE
+ /* Close the audio device when on pause */
+ xine_set_param (mp->priv->stream, XINE_PARAM_AUDIO_CLOSE_DEVICE, 1);
++#endif
+ }
+
+ mp->priv->timer_add += floor (g_timer_elapsed (mp->priv->timer, NULL) + 0.5);