Commit ad2b7c81 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h Committed by Rémi Denis-Courmont

enable kate in matroska now that the codec id is published

Signed-off-by: default avatarRémi Denis-Courmont <rdenis@simphalempin.com>
parent 3a97968e
......@@ -2554,7 +2554,6 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
}
tracks[i_track]->fmt.audio.i_blockalign = ( tracks[i_track]->fmt.audio.i_bitspersample + 7 ) / 8 * tracks[i_track]->fmt.audio.i_channels;
}
#if 0
/* disabled due to the potential "S_KATE" namespace issue */
else if( !strcmp( tracks[i_track]->psz_codec, "S_KATE" ) )
{
......@@ -2605,7 +2604,6 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
i_extra += i_size[i];
}
}
#endif
else if( !strcmp( tracks[i_track]->psz_codec, "S_TEXT/UTF8" ) )
{
tracks[i_track]->fmt.i_codec = VLC_FOURCC( 's', 'u', 'b', 't' );
......
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