1
0
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:
Joe Marcus Clarke 2003-09-03 21:44:32 +00:00
parent fc3d335434
commit 20850810fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=88456
2 changed files with 26 additions and 0 deletions

View 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);

View 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);