diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-18 20:19:47 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-02-18 20:19:47 +0000 |
commit | 187318ba5c7345b0b5fa8ec6e06a586d1690459b (patch) | |
tree | bba13c6e00df33688f03f8923dd0e733a419a04c /libvo/video_out.c | |
parent | 318715ee1a94fd67ee2651ef32e5d62e60f3af18 (diff) | |
download | mpv-187318ba5c7345b0b5fa8ec6e06a586d1690459b.tar.bz2 mpv-187318ba5c7345b0b5fa8ec6e06a586d1690459b.tar.xz |
Revert r22255 on iive's request.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22264 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/video_out.c')
-rw-r--r-- | libvo/video_out.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libvo/video_out.c b/libvo/video_out.c index a6b48b71e9..b8ec45ed14 100644 --- a/libvo/video_out.c +++ b/libvo/video_out.c @@ -327,8 +327,6 @@ vo_functions_t* init_best_video_out(char** vo_list){ int config_video_out(vo_functions_t *vo, uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format) { - static uint32_t old_width, old_height, old_format; - int res; panscan_init(); aspect_save_orig(width,height); aspect_save_prescale(d_width,d_height); @@ -344,14 +342,7 @@ int config_video_out(vo_functions_t *vo, uint32_t width, uint32_t height, vo_dwidth = d_width; vo_dheight = d_height; - if (vo_config_count && width == old_width && height == old_height && - format == old_format) - flags |= VOFLAG_SAME_INPUT; - res = vo->config(width, height, d_width, d_height, flags, title, format); - if (!res) { - old_width = width; old_height = height; old_format = format; - } - return res; + return vo->config(width, height, d_width, d_height, flags, title, format); } #if defined(HAVE_FBDEV)||defined(HAVE_VESA) |