mirror of
https://github.com/mpv-player/mpv
synced 2024-12-26 17:12:36 +00:00
vo_vdpau: remove deprecated/inactive --vo-vdpau-deint option
I think this has been dead code for quite a while. It was deprecated anyway.
This commit is contained in:
parent
9b9ce74afa
commit
92e7f75bec
@ -78,6 +78,7 @@ Interface changes
|
||||
To get the old behavior, set the "passthrough_stdin" argument to true.
|
||||
- key/value list options do not accept ":" as item separator anymore,
|
||||
only ",". This means ":" is always considered part of the value.
|
||||
- remove deprecated --vo-vdpau-deint option
|
||||
--- mpv 0.32.0 ---
|
||||
- change behavior when using legacy option syntax with options that start
|
||||
with two dashes (``--`` instead of a ``-``). Now, using the recommended
|
||||
|
@ -99,29 +99,6 @@ Available video output drivers are:
|
||||
|
||||
Apply a noise reduction algorithm to the video (default: 0; no noise
|
||||
reduction).
|
||||
``--vo-vdpau-deint=<-4-4>``
|
||||
(Deprecated. See note about ``vdpaupp``.)
|
||||
|
||||
Select deinterlacing mode (default: 0). In older versions (as well as
|
||||
MPlayer/mplayer2) you could use this option to enable deinterlacing.
|
||||
This doesn't work anymore, and deinterlacing is enabled with either
|
||||
the ``d`` key (by default mapped to the command ``cycle deinterlace``),
|
||||
or the ``--deinterlace`` option. Also, to select the default deint mode,
|
||||
you should use something like ``--vf-defaults=vdpaupp:deint-mode=temporal``
|
||||
instead of this sub-option.
|
||||
|
||||
0
|
||||
Pick the ``vdpaupp`` video filter default, which corresponds to 3.
|
||||
1
|
||||
Show only first field.
|
||||
2
|
||||
Bob deinterlacing.
|
||||
3
|
||||
Motion-adaptive temporal deinterlacing. May lead to A/V desync
|
||||
with slow video hardware and/or high resolution.
|
||||
4
|
||||
Motion-adaptive temporal deinterlacing with edge-guided spatial
|
||||
interpolation. Needs fast video hardware.
|
||||
``--vo-vdpau-chroma-deint``
|
||||
(Deprecated. See note about ``vdpaupp``.)
|
||||
|
||||
|
@ -121,8 +121,6 @@ enum mp_voctrl {
|
||||
VOCTRL_GET_DISPLAY_FPS, // double*
|
||||
VOCTRL_GET_HIDPI_SCALE, // double*
|
||||
|
||||
VOCTRL_GET_PREF_DEINT, // int*
|
||||
|
||||
/* private to vo_gpu */
|
||||
VOCTRL_EXTERNAL_RESIZE,
|
||||
};
|
||||
|
@ -88,7 +88,6 @@ struct vdpctx {
|
||||
|
||||
int force_yuv;
|
||||
struct mp_vdpau_mixer *video_mixer;
|
||||
int deint;
|
||||
int pullup;
|
||||
float denoise;
|
||||
float sharpen;
|
||||
@ -1080,9 +1079,6 @@ static int control(struct vo *vo, uint32_t request, void *data)
|
||||
return false;
|
||||
*(struct mp_image **)data = get_window_screenshot(vo);
|
||||
return true;
|
||||
case VOCTRL_GET_PREF_DEINT:
|
||||
*(int *)data = vc->deint;
|
||||
return true;
|
||||
}
|
||||
|
||||
int events = 0;
|
||||
@ -1115,7 +1111,6 @@ const struct vo_driver video_out_vdpau = {
|
||||
.uninit = uninit,
|
||||
.priv_size = sizeof(struct vdpctx),
|
||||
.options = (const struct m_option []){
|
||||
{"deint", OPT_INT(deint), M_RANGE(-4, 4)},
|
||||
{"chroma-deint", OPT_FLAG(chroma_deint), OPTDEF_INT(1)},
|
||||
{"pullup", OPT_FLAG(pullup)},
|
||||
{"denoise", OPT_FLOAT(denoise), M_RANGE(0, 1)},
|
||||
|
Loading…
Reference in New Issue
Block a user