Commit 0c3b994a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

MKV: mark ASCII subs as such

parent ff834fa5
...@@ -1140,7 +1140,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time ) ...@@ -1140,7 +1140,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
else if( !strcmp( p_tk->psz_codec, "S_TEXT/ASCII" ) ) else if( !strcmp( p_tk->psz_codec, "S_TEXT/ASCII" ) )
{ {
p_fmt->i_codec = VLC_CODEC_SUBT; p_fmt->i_codec = VLC_CODEC_SUBT;
p_fmt->subs.psz_encoding = NULL; /* Is there a place where it is stored ? */ p_fmt->subs.psz_encoding = strdup( "ASCII" );
} }
else if( !strcmp( p_tk->psz_codec, "S_TEXT/UTF8" ) ) else if( !strcmp( p_tk->psz_codec, "S_TEXT/UTF8" ) )
{ {
......
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