vlc | branch: master | Steve Lhomme <[email protected]> | Wed Mar 18 11:48:42 
2015 +0000| [1995e5d4538a48bfe2e0cc9afa5f625a99f901e4] | committer: 
Jean-Baptiste Kempf

MKV: A_MS/ACM is not packetized

Just like in AVI
See modules/demux/avi/avi.c l461

Signed-off-by: Jean-Baptiste Kempf <[email protected]>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1995e5d4538a48bfe2e0cc9afa5f625a99f901e4
---

 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 93dfa4e..d8daad1 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1493,6 +1493,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk 
)
             if( p_tk->fmt.i_codec == VLC_FOURCC( 'u', 'n', 'd', 'f' ) )
                 msg_Err( &sys.demuxer, "Unrecognized wf tag: 0x%x", GetWLE( 
&p_wf->wFormatTag ) );
         }
+        p_fmt->b_packetized = !p_fmt->audio.i_blockalign;
     }
     else if( !strcmp( p_tk->psz_codec, "A_MPEG/L3" ) ||
              !strcmp( p_tk->psz_codec, "A_MPEG/L2" ) ||

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to