mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 19:05:33 +00:00
Support "D" to (de-)activate deinterlacing when using vo vdpau.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28736 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1a608bf2bd
commit
2614be14cc
@ -285,7 +285,7 @@ Start/stop taking screenshots.
|
||||
Show filename on the OSD.
|
||||
.IPs "! and @"
|
||||
Seek to the beginning of the previous/next chapter.
|
||||
.IPs "D (\-vo xvmc, \-vf yadif, \-vf kerndeint only)"
|
||||
.IPs "D (\-vo xvmc, \-vo vdpau, \-vf yadif, \-vf kerndeint only)"
|
||||
Activate/deactivate deinterlacer.
|
||||
.IPs "A"
|
||||
Cycle through the available DVD angles.
|
||||
|
@ -1012,6 +1012,13 @@ static int preinit(const char *arg)
|
||||
static int control(uint32_t request, void *data, ...)
|
||||
{
|
||||
switch (request) {
|
||||
case VOCTRL_GET_DEINTERLACE:
|
||||
*(int*)data = deint;
|
||||
return VO_TRUE;
|
||||
case VOCTRL_SET_DEINTERLACE:
|
||||
deint = *(int*)data;
|
||||
printf("Set to %d. \n", deint);
|
||||
return VO_TRUE;
|
||||
case VOCTRL_PAUSE:
|
||||
return (int_pause = 1);
|
||||
case VOCTRL_RESUME:
|
||||
|
Loading…
Reference in New Issue
Block a user