summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-27 18:51:02 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-08-27 18:51:02 +0000
commit8082e89f6eacc5b054f7ca1b7b51d57fb7d5a7c8 (patch)
tree4be16939e3465941f93bb5d865692e4b4bf8baa2 /libvo
parentf6e58b8a99359bab1e719bdecf036775e287db33 (diff)
downloadmpv-8082e89f6eacc5b054f7ca1b7b51d57fb7d5a7c8.tar.bz2
mpv-8082e89f6eacc5b054f7ca1b7b51d57fb7d5a7c8.tar.xz
Remove panscan related conditions and code that only breaks future windowed
aspect and panscan without any real benefit. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29568 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index b7e0e74b81..451d575884 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -748,26 +748,12 @@ static int control(uint32_t request, void *data, ...)
case VOCTRL_GUISUPPORT:
return VO_TRUE;
case VOCTRL_GET_PANSCAN:
- if (!vo_config_count || !vo_fs)
- return VO_FALSE;
return VO_TRUE;
case VOCTRL_FULLSCREEN:
vo_x11_fullscreen();
/* indended, fallthrough to update panscan on fullscreen/windowed switch */
case VOCTRL_SET_PANSCAN:
- if ((vo_fs && (vo_panscan != vo_panscan_amount))
- || (!vo_fs && vo_panscan_amount))
- {
- int old_y = vo_panscan_y;
-
- panscan_calc();
-
- if (old_y != vo_panscan_y)
- {
resize();
- flip_page();
- }
- }
return VO_TRUE;
case VOCTRL_SET_EQUALIZER:
{