[vlc-commits] mkv: fixed parsing regression related to S_TEXT/UTF8
    Filip Roséen 
    git at videolan.org
       
    Fri Mar 18 11:24:12 CET 2016
    
    
  
vlc | branch: master | Filip Roséen <filip at videolabs.io> | Fri Mar 18 11:10:35 2016 +0100| [3bfe1262949991a9272f77418a99f40c6bf9e1f9] | committer: Jean-Baptiste Kempf
mkv: fixed parsing regression related to S_TEXT/UTF8
The problem was due to a simple typo, the codec string is of course
"S_TEXT/UTF8" and not "S_TEXT/UTF-8"; even though hyphens are cool it
has now been removed to fix the issue.
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3bfe1262949991a9272f77418a99f40c6bf9e1f9
---
 modules/demux/mkv/matroska_segment_parse.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/mkv/matroska_segment_parse.cpp b/modules/demux/mkv/matroska_segment_parse.cpp
index dab19bc..90ae366 100644
--- a/modules/demux/mkv/matroska_segment_parse.cpp
+++ b/modules/demux/mkv/matroska_segment_parse.cpp
@@ -1663,7 +1663,7 @@ int32_t matroska_segment_c::TrackInit( mkv_track_t * p_tk )
             vars.p_fmt->i_codec = VLC_CODEC_SUBT;
             vars.p_fmt->subs.psz_encoding = strdup( "ASCII" );
         }
-        S_CASE("S_TEXT/UTF-8") {
+        S_CASE("S_TEXT/UTF8") {
             vars.p_tk->fmt.i_codec = VLC_CODEC_SUBT;
             vars.p_tk->fmt.subs.psz_encoding = strdup( "UTF-8" );
         }
    
    
More information about the vlc-commits
mailing list