[vlc-devel] [vlc-commits] mkv: AC3*/DTS* are not packetized
Steve Lhomme
robux4 at gmail.com
Thu Jul 28 09:22:14 CEST 2016
On Thu, Jul 28, 2016 at 9:04 AM, Thomas Guillem <git at videolan.org> wrote:
> 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
For the record, they are frame/packet based. But they don't provide
the channel/bitrate information that are needed in some other places.
>> 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;
>
> _______________________________________________
> vlc-commits mailing list
> vlc-commits at videolan.org
> https://mailman.videolan.org/listinfo/vlc-commits
More information about the vlc-devel
mailing list