[vlc-commits] audiotrack: fix length for DTS_HD
Thomas Guillem
git at videolan.org
Fri Jun 7 11:04:28 CEST 2019
vlc/vlc-3.0 | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Jun 7 10:55:56 2019 +0200| [891ad351107f71acadffad3025d078377dc1a942] | committer: Thomas Guillem
audiotrack: fix length for DTS_HD
Unlikely to fix anything since this code patch is disabled. DTS_HD had never
been tested and enabled on API 23. It is working on API >= 24 with IEC61937
encoding.
(cherry picked from commit 09e8e01e19e5f588244a9dcf183eb04d25fb9e56)
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=891ad351107f71acadffad3025d078377dc1a942
---
modules/audio_output/audiotrack.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/modules/audio_output/audiotrack.c b/modules/audio_output/audiotrack.c
index dcc1c254e1..b9a7117fb2 100644
--- a/modules/audio_output/audiotrack.c
+++ b/modules/audio_output/audiotrack.c
@@ -1762,9 +1762,11 @@ ConvertFromIEC61937( audio_output_t *p_aout, block_t *p_buffer )
case 0x0B: /* IEC61937_DTS1 */
case 0x0C: /* IEC61937_DTS2 */
case 0x0D: /* IEC61937_DTS3 */
- case 0x11: /* IEC61937_DTSHD */
i_length_mul = 8;
break;
+ case 0x11: /* IEC61937_DTSHD */
+ i_length_mul = 1;
+ break;
default:
vlc_assert_unreachable();
}
More information about the vlc-commits
mailing list