From 762ef8d53238160d5fc8873c249d11d38399bf94 Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 7 Aug 2012 19:02:34 +0200 Subject: codecs.cfg: do not prefer spdifmpa over mpg123 decoder The generic hardware pass-through decoder ad_spdif (imported from mplayer-svn) was mistakenly prefered over the default decoder mpg123. This is the same as mplayer-svn commit 34192. The spidfmpa entry was marked as "untested", which for inconceivable reasons is preferred over entries marked "working". (The probe order is untested, working, buggy. Possibly to "force" untested codecs to be tested?) I didn't know this behavior, and skipped the corresponding mplayer-svn commit 34192, as it looked like it would move up the entry in autoprobe order (not the reverse), which might have been slightly dangerous, or at least not something we would have to bother with. The only change in behavior the incorrect entry caused was that playing a shoutcast mp3 stream displayed "inf" as time on the mplayer status line, instead the time since joining the stream. (The same can be seen when starting mplayer-svn with -ac spdifmpa,mpg123 .) I'm not sure why this happens; I can only guess that when spdifmpa throws away header data when it fails initializing, or messes up something else. --- etc/codecs.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/codecs.conf b/etc/codecs.conf index 586b0d31b4..f31a8b69db 100644 --- a/etc/codecs.conf +++ b/etc/codecs.conf @@ -4757,7 +4757,7 @@ audiocodec spdifdts audiocodec spdifmpa info "libavformat/spdifenc MPEG AUDIO BC pass-through decoder" - status untested + status working comment "for MPEG AUDIO BC hardware decoders" format 0x50 ; layer-1 && layer-2 format 0x55 ; layer-3 -- cgit v1.2.3