[vlc-commits] MKV: force packetization of MPEG audio frames
Steve Lhomme
git at videolan.org
Wed Feb 25 19:38:57 CET 2015
vlc | branch: master | Steve Lhomme <robUx4 at videolabs.io> | Wed Feb 25 16:01:08 2015 +0100| [9d5d8ab570bf8418df0302dc9a5b60fc385fc2e5] | committer: Jean-Baptiste Kempf
MKV: force packetization of MPEG audio frames
Fixes #11479
The file has some MP3 frames, but the frames are not packetized correctly in the Matroska file (spec violation)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9d5d8ab570bf8418df0302dc9a5b60fc385fc2e5
---
modules/demux/mkv/matroska_segment_parse.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index d0bd4ed..7f3bcb2 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1494,6 +1494,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
!strcmp( p_tk->psz_codec, "A_MPEG/L1" ) )
{
p_tk->fmt.i_codec = VLC_CODEC_MPGA;
+ p_fmt->b_packetized = false;
}
else if( !strcmp( p_tk->psz_codec, "A_AC3" ) )
{
More information about the vlc-commits
mailing list