summaryrefslogtreecommitdiffstats
path: root/mpvcore/options.h
diff options
context:
space:
mode:
authorRudolf Polzer <divVerent@xonotic.org>2013-11-01 16:02:47 +0100
committerRudolf Polzer <divverent@xonotic.org>2013-11-07 12:56:07 +0100
commit633fde4ae541ddfe57f8111fe9b5b1fba89e6fc6 (patch)
treec00e88cd5efb55528a9f34c279101d31cb4b05be /mpvcore/options.h
parent49caa0a775be06539a7cd30875f1c80368a7ac55 (diff)
downloadmpv-633fde4ae541ddfe57f8111fe9b5b1fba89e6fc6.tar.bz2
mpv-633fde4ae541ddfe57f8111fe9b5b1fba89e6fc6.tar.xz
sd_lavc, sd_spu: make dvdsub stretching conditional on --stretch-dvd-subs.
We found that the stretching - although it usually improves the looks of the fonts - is incorrect. On DVD, subtitles can cover the full area of the picture, and they have the same pixel aspect as the movie itself. Too bad many commercially released DVDs use bitmap fonts made with the wrong pixel aspect (i.e. assuming 1:1) - --stretch-dvd-subs will make these more pretty then.
Diffstat (limited to 'mpvcore/options.h')
-rw-r--r--mpvcore/options.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpvcore/options.h b/mpvcore/options.h
index 4a58a0e10d..e6df87f4b8 100644
--- a/mpvcore/options.h
+++ b/mpvcore/options.h
@@ -148,6 +148,7 @@ typedef struct MPOpts {
float sub_fps;
float sub_speed;
int forced_subs_only;
+ int stretch_dvd_subs;
char *quvi_format;
// subreader.c