Commit c84bf792 authored by Jai Menon's avatar Jai Menon Committed by Jean-Baptiste Kempf

MKV : Add MJPEG codec ID.

Signed-off-by: default avatarRémi Duraffort <ivoire@videolan.org>
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 67853388
...@@ -909,6 +909,10 @@ bool matroska_segment_c::Select( mtime_t i_start_time ) ...@@ -909,6 +909,10 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
} }
stream_Delete( p_mp4_stream ); stream_Delete( p_mp4_stream );
} }
else if( !strcmp( tracks[i_track]->psz_codec, "V_MJPEG" ) )
{
p_tk->fmt.i_codec = VLC_CODEC_MJPG;
}
else if( !strcmp( tracks[i_track]->psz_codec, "A_MS/ACM" ) ) else if( !strcmp( tracks[i_track]->psz_codec, "A_MS/ACM" ) )
{ {
if( tracks[i_track]->i_extra_data < (int)sizeof( WAVEFORMATEX ) ) if( tracks[i_track]->i_extra_data < (int)sizeof( WAVEFORMATEX ) )
......
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