]> git.sesse.net Git - vlc/commitdiff
Matroska : Set default compression type for the ContentCompAlgo element to 0 (indicat...
authorJai Menon <jmenon86@gmail.com>
Fri, 11 Jun 2010 13:08:22 +0000 (18:38 +0530)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 11 Jun 2010 15:06:55 +0000 (17:06 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/demux/mkv/matroska_segment_parse.cpp

index 1abec2b4cdfd62d2ec00775d7b4c353c166e3da2..3e1edc09dd2c1e928d0b6b5f621ec849db0f1297 100644 (file)
@@ -395,6 +395,8 @@ void matroska_segment_c::ParseTrackEntry( KaxTrackEntry *m )
                         {
                             EbmlMaster *compr = static_cast<EbmlMaster*>(l3);
                             MkvTree( sys.demuxer, 5, "Content Compression" );
+                            //Default compression type is 0 (Zlib)
+                            tk->i_compression_type = MATROSKA_COMPRESSION_ZLIB;
                             for( size_t n = 0; n < compr->ListSize(); n++ )
                             {
                                 EbmlElement *l4 = (*compr)[n];