From 69283bc0f8905e7748343f2c5389791f858a5f4c Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 5 Sep 2016 21:07:03 +0200 Subject: options: deprecate suboptions for the remaining AO/VOs --- video/out/vo_direct3d.c | 1 + video/out/vo_drm.c | 1 + video/out/vo_null.c | 1 + video/out/vo_rpi.c | 1 + video/out/vo_sdl.c | 1 + video/out/vo_vaapi.c | 1 + video/out/vo_vdpau.c | 3 ++- video/out/vo_wayland.c | 1 + video/out/vo_xv.c | 1 + 9 files changed, 10 insertions(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/vo_direct3d.c b/video/out/vo_direct3d.c index 7307c45fa4..bb3f9461c1 100644 --- a/video/out/vo_direct3d.c +++ b/video/out/vo_direct3d.c @@ -1749,4 +1749,5 @@ const struct vo_driver video_out_direct3d = { .priv_size = sizeof(d3d_priv), .priv_defaults = &defaults, .options = opts, + .legacy_prefix = "vo-direct3d", }; diff --git a/video/out/vo_drm.c b/video/out/vo_drm.c index f03f50358d..6a21eabfcd 100644 --- a/video/out/vo_drm.c +++ b/video/out/vo_drm.c @@ -513,4 +513,5 @@ const struct vo_driver video_out_drm = { .connector_id = -1, .mode_id = 0, }, + .legacy_prefix = "drm", }; diff --git a/video/out/vo_null.c b/video/out/vo_null.c index aeb2353cea..39c1bf6361 100644 --- a/video/out/vo_null.c +++ b/video/out/vo_null.c @@ -101,4 +101,5 @@ const struct vo_driver video_out_null = { OPT_DOUBLE("fps", cfg_fps, M_OPT_RANGE, .min = 0, .max = 10000), {0}, }, + .legacy_prefix = "vo-null", }; diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c index cbbd781f0b..a0cc0e39ef 100644 --- a/video/out/vo_rpi.c +++ b/video/out/vo_rpi.c @@ -803,4 +803,5 @@ const struct vo_driver video_out_rpi = { .uninit = uninit, .priv_size = sizeof(struct priv), .options = options, + .legacy_prefix = "rpi", }; diff --git a/video/out/vo_sdl.c b/video/out/vo_sdl.c index cf509acae5..ef42ac93ba 100644 --- a/video/out/vo_sdl.c +++ b/video/out/vo_sdl.c @@ -1034,4 +1034,5 @@ const struct vo_driver video_out_sdl = { .flip_page = flip_page, .wait_events = wait_events, .wakeup = wakeup, + .legacy_prefix = "sdl", }; diff --git a/video/out/vo_vaapi.c b/video/out/vo_vaapi.c index 612879321e..b308c8be3c 100644 --- a/video/out/vo_vaapi.c +++ b/video/out/vo_vaapi.c @@ -698,4 +698,5 @@ const struct vo_driver video_out_vaapi = { OPT_FLAG("scaled-osd", force_scaled_osd, 0), {0} }, + .legacy_prefix = "vo-vaapi", }; diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index 2a0566f6ef..2ce3764b2a 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -1162,5 +1162,6 @@ const struct vo_driver video_out_vdpau = { }), OPT_FLAG("force-yuv", force_yuv, 0), {NULL}, - } + }, + .legacy_prefix = "vo-vdpau", }; diff --git a/video/out/vo_wayland.c b/video/out/vo_wayland.c index 7761223111..cdfdc24ad4 100644 --- a/video/out/vo_wayland.c +++ b/video/out/vo_wayland.c @@ -680,5 +680,6 @@ const struct vo_driver video_out_wayland = { OPT_FLAG("rgb565", use_rgb565, 0), {0} }, + .legacy_prefix = "vo-wayland", }; diff --git a/video/out/vo_xv.c b/video/out/vo_xv.c index b51a57e38c..0078dc8237 100644 --- a/video/out/vo_xv.c +++ b/video/out/vo_xv.c @@ -935,4 +935,5 @@ const struct vo_driver video_out_xv = { OPT_REMOVED("no-colorkey", "use ck-method=none instead"), {0} }, + .legacy_prefix = "xv", }; -- cgit v1.2.3