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/sd.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sub/sd.h') diff --git a/sub/sd.h b/sub/sd.h index fc1085f8ed..a2f57a5808 100644 --- a/sub/sd.h +++ b/sub/sd.h @@ -16,6 +16,10 @@ struct sd { char *extradata; int extradata_len; + // Set to !=NULL if the input packets are being converted from another + // format. + const char *converted_from; + // Video resolution used for subtitle decoding. Doesn't necessarily match // the resolution of the VO, nor does it have to be the OSD resolution. int sub_video_w, sub_video_h; -- cgit v1.2.3