mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
Fix a build problem when WITH_XINE is used.
PR: 56368 Submitted by: Frank Ruell <stoerte@dreamwarrior.net> Obtained from: Rhythmbox CVS
This commit is contained in:
parent
fc3d335434
commit
20850810fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88456
13
audio/rhythmbox-devel/files/patch-monkey-media-player-xine.c
Normal file
13
audio/rhythmbox-devel/files/patch-monkey-media-player-xine.c
Normal file
@ -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);
|
13
audio/rhythmbox/files/patch-monkey-media-player-xine.c
Normal file
13
audio/rhythmbox/files/patch-monkey-media-player-xine.c
Normal file
@ -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);
|
Loading…
Reference in New Issue
Block a user