[vlc-devel] [PATCH] MKV: force packetization of MPEG audio frames
Steve Lhomme
robUx4 at videolabs.io
Wed Feb 25 16:01:08 CET 2015
Fixes #11479
The file has some MP3 frames, but the frames are not packetized correctly in the Matroska file (spec violation)
---
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" ) )
{
--
2.2.2
More information about the vlc-devel
mailing list