summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorAlexander Preisinger <alexander.preisinger@gmail.com>2013-03-04 17:40:21 +0100
committerAlexander Preisinger <alexander.preisinger@gmail.com>2013-03-04 17:40:21 +0100
commit7686cd7f043ef5b42ade64db21ec01c8c8d6281e (patch)
treeb8f2f3b73e2a7e19e6e999aa6ece03b381c87d14 /sub
parentdc226bb846f037e992ae4a9fa12aa2196e804e6d (diff)
downloadmpv-7686cd7f043ef5b42ade64db21ec01c8c8d6281e.tar.bz2
mpv-7686cd7f043ef5b42ade64db21ec01c8c8d6281e.tar.xz
vo: remove and cleanup globals
Removes almost every global variabel in vo.h and puts them in a special struct in MPOpts for video output related options. Also we completly remove the options/globals pts and refresh rate because they were unused.
Diffstat (limited to 'sub')
-rw-r--r--sub/sub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sub/sub.c b/sub/sub.c
index 2f51b7a8a5..b0c9e22d7a 100644
--- a/sub/sub.c
+++ b/sub/sub.c
@@ -158,7 +158,7 @@ static void render_object(struct osd_state *osd, struct osd_object *obj,
bool formats[SUBBITMAP_COUNT];
memcpy(formats, sub_formats, sizeof(formats));
- if (opts->vo_force_rgba_osd)
+ if (opts->force_rgba_osd)
formats[SUBBITMAP_LIBASS] = false;
*out_imgs = (struct sub_bitmaps) {0};