diff options
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r-- | sub/dec_sub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/dec_sub.c b/sub/dec_sub.c index a1392017a2..2a37c9b0e2 100644 --- a/sub/dec_sub.c +++ b/sub/dec_sub.c @@ -398,7 +398,7 @@ bool sub_read_all_packets(struct dec_sub *sub, struct sh_sub *sh) if (opts->sub_cp && !sh->is_utf8) sub->charset = guess_sub_cp(subs, opts->sub_cp); - if (sub->charset) + if (sub->charset && sub->charset[0]) mp_msg(MSGT_OSD, MSGL_INFO, "Using subtitle charset: %s\n", sub->charset); double sub_speed = 1.0; |