Commit 020d6bb4 authored by Denis Charmet's avatar Denis Charmet

Add basic A_QUICKTIME audio support in MKV

Fix partially #11038 since seek is still broken
parent 2cb87846
...@@ -1711,6 +1711,20 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk ) ...@@ -1711,6 +1711,20 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
} }
} }
} }
else if( !strncmp( p_tk->psz_codec, "A_QUICKTIME", 11 ) )
{
p_tk->fmt.i_cat = AUDIO_ES;
if ( !strncmp( p_tk->psz_codec+11, "/QDM2", 5 ) )
p_tk->fmt.i_codec = VLC_CODEC_QDM2;
else if( !strncmp( p_tk->psz_codec+11, "/QDMC", 5 ) )
p_tk->fmt.i_codec = VLC_FOURCC('Q','D','M','C');
else if( p_tk->i_extra_data >= 8)
p_tk->fmt.i_codec = VLC_FOURCC(p_tk->p_extra_data[4],
p_tk->p_extra_data[5],
p_tk->p_extra_data[6],
p_tk->p_extra_data[7]);
fill_extra_data( p_tk, 0 );
}
else if( !strcmp( p_tk->psz_codec, "S_KATE" ) ) else if( !strcmp( p_tk->psz_codec, "S_KATE" ) )
{ {
p_tk->fmt.i_codec = VLC_CODEC_KATE; p_tk->fmt.i_codec = VLC_CODEC_KATE;
......
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