diff options
author | Niklas Haas <git@nand.wakku.to> | 2015-03-23 02:42:19 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-26 00:04:03 +0100 |
commit | 8c43e12b20a52dc61b53bc3eec779aa07b8c8220 (patch) | |
tree | 43edfc813c01137011ea917e329a3ec2ef2889ee /video/out/gl_osd.h | |
parent | a67494e86b7261f59a3a6a3f3e6b1fe0a257bf4f (diff) | |
download | mpv-8c43e12b20a52dc61b53bc3eec779aa07b8c8220.tar.bz2 mpv-8c43e12b20a52dc61b53bc3eec779aa07b8c8220.tar.xz |
vo_opengl: draw subtitles directly onto the video
This has a number of user-visible changes:
1. A new flag blend-subtitles (default on for opengl-hq) to control this
behavior.
2. The OSD itself will not be color managed or affected by
gamma controls. To get subtitle CMS/gamma, blend-subtitles must be
used.
3. When enabled, this will make subtitles be cleanly interpolated by
:interpolation, and also dithered etc. (just like the normal output).
Signed-off-by: wm4 <wm4@nowhere>
Diffstat (limited to 'video/out/gl_osd.h')
-rw-r--r-- | video/out/gl_osd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_osd.h b/video/out/gl_osd.h index 0acd200ab4..130008a58d 100644 --- a/video/out/gl_osd.h +++ b/video/out/gl_osd.h @@ -13,7 +13,7 @@ void mpgl_osd_destroy(struct mpgl_osd *ctx); void mpgl_osd_set_options(struct mpgl_osd *ctx, bool pbo); void mpgl_osd_generate(struct mpgl_osd *ctx, struct mp_osd_res res, double pts, - int stereo_mode); + int stereo_mode, int draw_flags); enum sub_bitmap_format mpgl_osd_get_part_format(struct mpgl_osd *ctx, int index); struct gl_vao *mpgl_osd_get_vao(struct mpgl_osd *ctx); void mpgl_osd_draw_part(struct mpgl_osd *ctx, int vp_w, int vp_h, int index); |