aboutsummaryrefslogtreecommitdiffhomepage
path: root/sub/dec_sub.c
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2013-06-02 23:01:37 +0200
committerGravatar wm4 <wm4@nowhere>2013-06-03 22:40:07 +0200
commit5d517184f5c294e6aba8e2d729fad7caa5db75b4 (patch)
tree9276de5097cc033de749c9fae5e670a1155ad4d4 /sub/dec_sub.c
parent3913e3e383f2838c19c876ff1d809ac883014760 (diff)
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...
Diffstat (limited to 'sub/dec_sub.c')
-rw-r--r--sub/dec_sub.c1
1 files changed, 1 insertions, 0 deletions
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,