From 7686cd7f043ef5b42ade64db21ec01c8c8d6281e Mon Sep 17 00:00:00 2001 From: Alexander Preisinger Date: Mon, 4 Mar 2013 17:40:21 +0100 Subject: 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. --- sub/sub.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sub') 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}; -- cgit v1.2.3