diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-18 12:38:03 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-11-18 12:38:03 +0000 |
commit | 582d0b7cab30048a23f5a54d4d176ab7216d9d37 (patch) | |
tree | c423ba6fca12f5189827a82a20f90eb71c4c8c1d /libvo | |
parent | 45358915e778f85f5420da88db666dac0db6aa12 (diff) | |
download | mpv-582d0b7cab30048a23f5a54d4d176ab7216d9d37.tar.bz2 mpv-582d0b7cab30048a23f5a54d4d176ab7216d9d37.tar.xz |
more mp_property_deinterlace simplification, patch by
Carl Eugen Hoyos [cehoyos -at- rainbow studorg tuwien ac at]
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21018 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_xvmc.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libvo/vo_xvmc.c b/libvo/vo_xvmc.c index a9cc9884e8..735cd0f4ad 100644 --- a/libvo/vo_xvmc.c +++ b/libvo/vo_xvmc.c @@ -1383,10 +1383,7 @@ static int control(uint32_t request, void *data, ... ) *(int*)data = bob_deinterlace; return VO_TRUE; case VOCTRL_SET_DEINTERLACE: - if (*(int*)data == -1) - bob_deinterlace = !bob_deinterlace; - else - bob_deinterlace = *(int*)data; + bob_deinterlace = *(int*)data; return VO_TRUE; case VOCTRL_QUERY_FORMAT: return query_format(*((uint32_t*)data)); |