[vlc-devel] [PATCH] MKV: provide more block_t flags when we know them
Steve Lhomme
robUx4 at videolabs.io
Thu Mar 19 15:04:23 CET 2015
---
modules/demux/mkv/mkv.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/demux/mkv/mkv.cpp b/modules/demux/mkv/mkv.cpp
index e6eb2ed..df5c7f1 100644
--- a/modules/demux/mkv/mkv.cpp
+++ b/modules/demux/mkv/mkv.cpp
@@ -598,6 +598,8 @@ void BlockDecode( demux_t *p_demux, KaxBlock *block, KaxSimpleBlock *simpleblock
if ( b_key_picture )
p_block->i_flags |= BLOCK_FLAG_TYPE_I;
+ else if ( b_discardable_picture )
+ p_block->i_flags |= BLOCK_FLAG_TYPE_B;
switch( tk->fmt.i_codec )
{
--
2.3.2
More information about the vlc-devel
mailing list