[vlc-devel] [PATCH 15/17] mkv: AC3*/DTS* are not packetized
Thomas Guillem
thomas at gllm.fr
Wed Jul 27 17:27:31 CEST 2016
---
modules/demux/mkv/matroska_segment_parse.cpp | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 2ece65d..59c7952 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1476,9 +1476,16 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
}
vars.p_fmt->i_codec = VLC_CODEC_A52;
+ vars.p_fmt->b_packetized = false;
+ }
+ S_CASE("A_EAC3") {
+ vars.p_fmt->i_codec = VLC_CODEC_EAC3;
+ vars.p_fmt->b_packetized = false;
+ }
+ S_CASE("A_DTS") {
+ vars.p_fmt->i_codec = VLC_CODEC_DTS;
+ vars.p_fmt->b_packetized = false;
}
- S_CASE("A_EAC3") { vars.p_fmt->i_codec = VLC_CODEC_EAC3; }
- S_CASE("A_DTS") { vars.p_fmt->i_codec = VLC_CODEC_DTS; }
S_CASE("A_MLP") { vars.p_fmt->i_codec = VLC_CODEC_MLP; }
S_CASE("A_TRUEHD") { /* FIXME when more samples arrive */
vars.p_fmt->i_codec = VLC_CODEC_TRUEHD;
--
2.8.1
More information about the vlc-devel
mailing list