[vlc-commits] MKV: mark ASCII subs as such
Rémi Denis-Courmont
git at videolan.org
Tue Mar 29 19:05:44 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Mar 29 19:56:07 2011 +0300| [0c3b994ac35ca3e869a7bd562faf5a2f0f61aed4] | committer: Rémi Denis-Courmont
MKV: mark ASCII subs as such
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c3b994ac35ca3e869a7bd562faf5a2f0f61aed4
---
modules/demux/mkv/matroska_segment.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/demux/mkv/matroska_segment.cpp b/modules/demux/mkv/matroska_segment.cpp
index fac4f45..5c558e9 100644
--- a/modules/demux/mkv/matroska_segment.cpp
+++ b/modules/demux/mkv/matroska_segment.cpp
@@ -1140,7 +1140,7 @@ bool matroska_segment_c::Select( mtime_t i_start_time )
else if( !strcmp( p_tk->psz_codec, "S_TEXT/ASCII" ) )
{
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" ) )
{
More information about the vlc-commits
mailing list