kiall / android-tvheadend

Android + TV Headend + TV Input Framework
Apache License 2.0
191 stars 61 forks source link

Add verbosity to Vorbis exceptions #186

Closed girlpunk closed 7 years ago

kiall commented 7 years ago

The parseVorbisCodecPrivate method is taken straight from ExoPlayer, for ease of keeping it up to date, I avoided making any changes.

Ideally, we would go upstream to ExoPlayer and extract this into a reusable method, then make any amendments there rather than copying and pasting it.

https://github.com/google/ExoPlayer/blob/d979469659861f7fe1d39d153b90bdff1ab479cc/library/core/src/main/java/com/google/android/exoplayer2/extractor/mkv/MatroskaExtractor.java#L1770