Commit 88254fd7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Manual backport of: "[MKV] Detect Dirac in MKV"

Backport of [9ed799b9]

Fixes http://mso.fedorapeople.org/codecs-test/codec_test.schro.mkv
parent 294078a9
......@@ -2337,6 +2337,10 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
else if( !strcmp( tracks[i_track]->psz_codec, "V_REAL/RV40" ) )
tracks[i_track]->fmt.i_codec = VLC_FOURCC( 'R', 'V', '4', '0' );
}
else if( !strncmp( tracks[i_track]->psz_codec, "V_DIRAC", 7 ) )
{
tracks[i_track]->fmt.i_codec = VLC_FOURCC('d', 'r', 'a', 'c' );
}
else if( !strncmp( tracks[i_track]->psz_codec, "V_MPEG4", 7 ) )
{
if( !strcmp( tracks[i_track]->psz_codec, "V_MPEG4/MS/V3" ) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment