# HG changeset patch # User diego # Date 1227515504 0 # Node ID 21779d5ea61c3a26318ee4e7800a1738ae4cf2c3 # Parent 5c4dbd36c0cf9c70c8ae1638da297908b705daff Create a separate codecs.conf entry for Tremor and use it if MPlayer is with Tremor support instead of libvorbis. Previously MPlayer would show the same output on the console when decoding with libvorbis and Tremor. diff -r 5c4dbd36c0cf -r 21779d5ea61c etc/codecs.conf --- a/etc/codecs.conf Mon Nov 24 08:29:34 2008 +0000 +++ b/etc/codecs.conf Mon Nov 24 08:31:44 2008 +0000 @@ -3491,6 +3491,15 @@ driver libvorbis dll "libvorbis" +audiocodec tremor + info "OggVorbis audio decoder" + status working + comment "OggVorbis driver using Tremor" + fourcc vrbs + format 0x566F + driver tremor + dll "tremor" + audiocodec vorbisacm info "OggVorbis ACM" status working diff -r 5c4dbd36c0cf -r 21779d5ea61c libmpcodecs/ad_libvorbis.c --- a/libmpcodecs/ad_libvorbis.c Mon Nov 24 08:29:34 2008 +0000 +++ b/libmpcodecs/ad_libvorbis.c Mon Nov 24 08:31:44 2008 +0000 @@ -12,7 +12,11 @@ static ad_info_t info = { "Ogg/Vorbis audio decoder", +#ifdef CONFIG_TREMOR + "tremor", +#else "libvorbis", +#endif "Felix Buenemann, A'rpi", "libvorbis", ""