Commit 06bb9077 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Ensure that chapter names are utf8 (I failed to find information about

chapter encoding, I fear the worst)
parent 6bd54072
......@@ -532,6 +532,7 @@ static int Open( vlc_object_t * p_this )
seekpoint_t *s = vlc_seekpoint_New();
s->psz_name = strdup( p_chpl->data.p_chpl->chapter[i].psz_name );
EnsureUTF8( s->psz_name );
s->i_time_offset = p_chpl->data.p_chpl->chapter[i].i_start / 10;
TAB_APPEND( p_sys->p_title->i_seekpoint, p_sys->p_title->seekpoint, s );
}
......
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