Skip to content

Commit

Permalink
xine: Recognize RealText subtitle files.
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxdude42 committed Aug 7, 2020
1 parent ca8c32b commit b266993
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/captions/xine_demux_sputext.cpp
Expand Up @@ -1084,7 +1084,7 @@ static int sub_autodetect (demux_sputext_t *demuxstr) {
* A RealText format is a markup language, starts with <window> tag,
* options (behaviour modifiers) are possible.
*/
if ( strcasecmp(line, "<window") == 0 ) {
if ( strncasecmp(line, "<window", 7) == 0 ) {
demuxstr->uses_time=1;
return FORMAT_RT;
}
Expand Down

0 comments on commit b266993

Please sign in to comment.