[vlc-commits] MKV: fix ATRAC3 playback
Steve Lhomme
git at videolan.org
Wed Mar 25 15:17:51 CET 2015
vlc/vlc-2.2 | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Mar 18 14:35:46 2015 +0000| [425bf9a0d03de7cfb29e8884c86e87dae6b58e40] | committer: Jean-Baptiste Kempf
MKV: fix ATRAC3 playback
Fixes #14205
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit e99891e77f95b69a4bcc599f36ac13b296125226)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=425bf9a0d03de7cfb29e8884c86e87dae6b58e40
---
modules/demux/mkv/matroska_segment_parse.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index 25d1368..0aa5924 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1689,7 +1689,10 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
p_tk->fmt.audio.i_blockalign = hton16(priv->sub_packet_size);
}
else if( !strcmp( p_tk->psz_codec, "A_REAL/ATRC" ) )
+ {
p_tk->fmt.i_codec = VLC_CODEC_ATRAC3;
+ p_tk->fmt.audio.i_blockalign = hton16(priv->sub_packet_size);
+ }
else if( !strcmp( p_tk->psz_codec, "A_REAL/28_8" ) )
p_tk->fmt.i_codec = VLC_CODEC_RA_288;
/* FIXME RALF and SIPR */
More information about the vlc-commits
mailing list