Mercurial > mplayer.hg
comparison libvo/vo_vdpau.c @ 28701:fc457469ed7b
Support "D" to (de-)activate deinterlacing when using vo vdpau.
author | cehoyos |
---|---|
date | Thu, 26 Feb 2009 18:20:32 +0000 |
parents | 1b516f954faa |
children | eb5e70a423e3 |
comparison
equal
deleted
inserted
replaced
28700:b93dd9f04afd | 28701:fc457469ed7b |
---|---|
1010 } | 1010 } |
1011 | 1011 |
1012 static int control(uint32_t request, void *data, ...) | 1012 static int control(uint32_t request, void *data, ...) |
1013 { | 1013 { |
1014 switch (request) { | 1014 switch (request) { |
1015 case VOCTRL_GET_DEINTERLACE: | |
1016 *(int*)data = deint; | |
1017 return VO_TRUE; | |
1018 case VOCTRL_SET_DEINTERLACE: | |
1019 deint = *(int*)data; | |
1020 printf("Set to %d. \n", deint); | |
1021 return VO_TRUE; | |
1015 case VOCTRL_PAUSE: | 1022 case VOCTRL_PAUSE: |
1016 return (int_pause = 1); | 1023 return (int_pause = 1); |
1017 case VOCTRL_RESUME: | 1024 case VOCTRL_RESUME: |
1018 return (int_pause = 0); | 1025 return (int_pause = 0); |
1019 case VOCTRL_QUERY_FORMAT: | 1026 case VOCTRL_QUERY_FORMAT: |