diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo.h | 2 | ||||
-rw-r--r-- | video/out/vo_vdpau.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/video/out/vo.h b/video/out/vo.h index 629e25e0b0..26c90d184a 100644 --- a/video/out/vo.h +++ b/video/out/vo.h @@ -85,6 +85,8 @@ enum mp_voctrl { VOCTRL_SET_COMMAND_LINE, // char** VOCTRL_GET_ICC_PROFILE_PATH, // char** + + VOCTRL_GET_PREF_DEINT, // int* }; // VOCTRL_SET_EQUALIZER diff --git a/video/out/vo_vdpau.c b/video/out/vo_vdpau.c index fbcb1e9917..97b8245401 100644 --- a/video/out/vo_vdpau.c +++ b/video/out/vo_vdpau.c @@ -1278,6 +1278,9 @@ static int control(struct vo *vo, uint32_t request, void *data) args->out_image = get_screenshot(vo); return true; } + case VOCTRL_GET_PREF_DEINT: + *(int *)data = vc->deint; + return true; } int events = 0; |