Commit 9ed799b9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

[MKV] Detect Dirac in MKV.

This needs more testing, but we are lacking samples.
parent cd728cd0
......@@ -745,6 +745,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