From 5d517184f5c294e6aba8e2d729fad7caa5db75b4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 2 Jun 2013 23:01:37 +0200 Subject: sub: never set VSFilter aspect if the ASS subtitle is converted When e.g. converting SRT to ASS, we certainly don't want them stretched by video aspect ratio, even if that's necessary for native ASS subtitles. Annoying weird details... --- sub/dec_sub.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sub/dec_sub.c') diff --git a/sub/dec_sub.c b/sub/dec_sub.c index 7e4427a40f..4eb0dfa99f 100644 --- a/sub/dec_sub.c +++ b/sub/dec_sub.c @@ -224,6 +224,7 @@ void sub_init_from_sh(struct dec_sub *sub, struct sh_sub *sh) } init_sd = (struct sd) { .codec = sd->output_codec, + .converted_from = sd->codec, .extradata = sd->output_extradata, .extradata_len = sd->output_extradata_len, .ass_library = sub->init_sd.ass_library, -- cgit v1.2.3