[vlc-commits] mkv: AC3*/DTS* are not packetized
Thomas Guillem
git at videolan.org
Thu Jul 28 09:04:37 CEST 2016
vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Jul 26 14:29:56 2016 +0200| [38ec7eaf9dbc231f37c3b7712b24c7347e5b1aa7] | committer: Thomas Guillem
mkv: AC3*/DTS* are not packetized
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=38ec7eaf9dbc231f37c3b7712b24c7347e5b1aa7
---
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;
More information about the vlc-commits
mailing list