[vlc-devel] [PATCH] MKV: provide more block_t flags when we know them

Steve Lhomme robux4 at videolabs.io
Thu Mar 19 16:10:57 CET 2015


Discard

On Thu, Mar 19, 2015 at 4:02 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> Bof. Bof. This is confusing.
>
> On 19 Mar, Steve Lhomme wrote :
>> ---
>>  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
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>
> --
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list