summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2013-03-30 13:57:02 +0000
committerChris Rankin <rankincj@yahoo.com>2013-03-30 13:57:02 +0000
commit195c3566cd4bdf4d652647cfa731aa557a84cbd4 (patch)
tree8cafa5aadbf90441e7ac7a6ef3f8ad8b1c4f5bf4
parent654f2f29dbdd4d40f7a1e59e606a34fa6f81e6a8 (diff)
downloadxine-lib-195c3566cd4bdf4d652647cfa731aa557a84cbd4.tar.gz
xine-lib-195c3566cd4bdf4d652647cfa731aa557a84cbd4.tar.bz2
Raise priority of FAAD audio plugin ahead of FFmpeg.
The FFmpeg plugin must reopen the audio device when changing the config settings, and this isn't a quick operation with some hardware - the device can sometimes remain unable to be opened for several seconds after being closed. The FAAD plugin doesn't have this problem, and so make it the preferred decoder for AAC.
-rw-r--r--src/audio_dec/xine_faad_decoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_dec/xine_faad_decoder.c b/src/audio_dec/xine_faad_decoder.c
index f9eedb6e8..c4f5470d4 100644
--- a/src/audio_dec/xine_faad_decoder.c
+++ b/src/audio_dec/xine_faad_decoder.c
@@ -498,7 +498,7 @@ static const uint32_t audio_types[] = {
static const decoder_info_t dec_info_audio = {
audio_types, /* supported types */
- 1 /* priority */
+ 8 /* priority */
};
const plugin_info_t xine_plugin_info[] EXPORTED = {