diff options
author | wm4 <wm4@nowhere> | 2016-09-02 15:59:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-02 21:21:47 +0200 |
commit | 849480d0c9d5ef76bd3296034b2ad5019fb9c21d (patch) | |
tree | ef72fcfbbcce7fb0c88048ae70a0ec42cdf7866a /video/out/vo.c | |
parent | a07dae57e31882024518008c5c1c45f932c15193 (diff) | |
download | mpv-849480d0c9d5ef76bd3296034b2ad5019fb9c21d.tar.bz2 mpv-849480d0c9d5ef76bd3296034b2ad5019fb9c21d.tar.xz |
vo_opengl: deprecate sub-options, add them as global options
vo_opengl sub-option were always rather annoying to handle. It seems
better to make them global options instead. This is simpler and easier
to use. The only disadvantage we are aware of is that it's not clear
that many/all of these new global options work with vo_opengl only.
--vo=opengl-hq is also deprecated.
There is extensive compatibility with the old behavior. One exception is
that --vo-defaults will not apply to opengl-hq (though with opengl it
still works). vo-cmdline is also dysfunctional and will be removed in a
following commit.
These changes also affect opengl-cb.
The update mechanism is still rather inefficient: it requires syncing
with the VO after each option change, rather than batching updates.
There's also no granularity (video.c just updates "everything", and if
auto-ICC profiles are enabled, vo_opengl.c will fetch them on each
update).
Most of the manpage changes were done by Niklas Haas <git@haasn.xyz>.
Diffstat (limited to 'video/out/vo.c')
-rw-r--r-- | video/out/vo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/vo.c b/video/out/vo.c index b8b55ca58e..ee554f0e6d 100644 --- a/video/out/vo.c +++ b/video/out/vo.c @@ -48,7 +48,6 @@ extern const struct vo_driver video_out_x11; extern const struct vo_driver video_out_vdpau; extern const struct vo_driver video_out_xv; extern const struct vo_driver video_out_opengl; -extern const struct vo_driver video_out_opengl_hq; extern const struct vo_driver video_out_opengl_cb; extern const struct vo_driver video_out_null; extern const struct vo_driver video_out_image; @@ -105,7 +104,6 @@ const struct vo_driver *const video_out_drivers[] = &video_out_lavc, #endif #if HAVE_GL - &video_out_opengl_hq, &video_out_opengl_cb, #endif NULL @@ -188,7 +186,6 @@ const struct m_obj_list vo_obj_list = { .description = "video outputs", .aliases = { {"gl", "opengl"}, - {"gl3", "opengl-hq"}, {0} }, .allow_unknown_entries = true, |