[vlc-commits] AudioTrack: drop legacy EAC3

Thomas Guillem git at videolan.org
Wed Mar 8 15:03:17 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Mar  7 15:19:57 2017 +0100| [13cda4b5307b20ade2129f06d924805bbe87692b] | committer: Thomas Guillem

AudioTrack: drop legacy EAC3

It never worked, it works only via ENCODING_IEC61937.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=13cda4b5307b20ade2129f06d924805bbe87692b
---

 modules/audio_output/audiotrack.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index f5002d4..0a46c92 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -947,12 +947,6 @@ StartPassthrough( JNIEnv *env, audio_output_t *p_aout )
                     return VLC_EGENERIC;
                 i_at_format = jfields.AudioFormat.ENCODING_AC3;
                 break;
-            case VLC_CODEC_EAC3:
-                if( !jfields.AudioFormat.has_ENCODING_AC3 )
-                    return VLC_EGENERIC;
-                i_at_format = jfields.AudioFormat.ENCODING_E_AC3;
-                p_sys->fmt.i_rate = 192000;
-                break;
             case VLC_CODEC_DTS:
                 if( !jfields.AudioFormat.has_ENCODING_DTS )
                     return VLC_EGENERIC;



More information about the vlc-commits mailing list