diff options
author | wm4 <wm4@nowhere> | 2013-06-02 23:01:37 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-03 22:40:07 +0200 |
commit | 5d517184f5c294e6aba8e2d729fad7caa5db75b4 (patch) | |
tree | 9276de5097cc033de749c9fae5e670a1155ad4d4 /sub/sd.h | |
parent | 3913e3e383f2838c19c876ff1d809ac883014760 (diff) | |
download | mpv-5d517184f5c294e6aba8e2d729fad7caa5db75b4.tar.bz2 mpv-5d517184f5c294e6aba8e2d729fad7caa5db75b4.tar.xz |
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/sd.h')
-rw-r--r-- | sub/sd.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |