summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2006-08-16 17:49:22 +0000
committerphintuka <phintuka>2006-08-16 17:49:22 +0000
commitbff53b06664900cb8e03dc33bbea52b3eab77dc0 (patch)
treeb8af065cda82f61377b7059c3c02c20558849d4e
parent4993b30429b49c943f6c7ca12eee4f7698c96586 (diff)
downloadxineliboutput-bff53b06664900cb8e03dc33bbea52b3eab77dc0.tar.gz
xineliboutput-bff53b06664900cb8e03dc33bbea52b3eab77dc0.tar.bz2
"spdif" added when checking for AC3 passthru mode
-rw-r--r--xine_frontend.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xine_frontend.c b/xine_frontend.c
index b0888167..a8a2a0bd 100644
--- a/xine_frontend.c
+++ b/xine_frontend.c
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.c,v 1.6 2006-08-07 19:40:46 phintuka Exp $
+ * $Id: xine_frontend.c,v 1.7 2006-08-16 17:49:22 phintuka Exp $
*
*/
@@ -386,7 +386,8 @@ static void configure_audio_out(fe_t *this, const char *audio_driver, const char
this->xine->config->update_string(this->xine->config,
"audio.device.alsa_surround51_device",
audio_port);
- if(strstr(audio_port, "iec")) {
+ if(strstr(audio_port, "iec") ||
+ strstr(audio_port, "spdif")) {
this->xine->config->update_string(this->xine->config,
"audio.device.alsa_passthrough_device",
audio_port);