diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-28 21:32:32 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-08-28 21:32:32 +0000 |
commit | 64bedd9683e4c7d029dff71a92a3b7036d8e0f93 (patch) | |
tree | 61d1034d66d0833ebffba324f8c47592f41b360d /libvo/vo_xvidix.c | |
parent | 56e2afddf96abb82b9c0aa11b8088254007089e9 (diff) | |
download | mpv-64bedd9683e4c7d029dff71a92a3b7036d8e0f93.tar.bz2 mpv-64bedd9683e4c7d029dff71a92a3b7036d8e0f93.tar.xz |
finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_xvidix.c')
-rw-r--r-- | libvo/vo_xvidix.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/libvo/vo_xvidix.c b/libvo/vo_xvidix.c index c606bd0ae8..2611dce141 100644 --- a/libvo/vo_xvidix.c +++ b/libvo/vo_xvidix.c @@ -58,7 +58,6 @@ static vidix_grkey_t gr_key; /* VIDIX related */ static char *vidix_name; -static vo_tune_info_t vtune; /* Image parameters */ static uint32_t image_width; @@ -75,7 +74,7 @@ static uint32_t drwX, drwY, drwWidth, drwHeight, drwBorderWidth, extern void set_video_eq( int cap ); -static void set_window(int force_update,const vo_tune_info_t *info) +static void set_window(int force_update) { Window mRoot; if ( WinID ) @@ -164,7 +163,7 @@ static void set_window(int force_update,const vo_tune_info_t *info) vidix_stop(); if (vidix_init(image_width, image_height, vo_dx, vo_dy, window_width, window_height, image_format, vo_depthonscreen, - vo_screenwidth, vo_screenheight,info) != 0) + vo_screenwidth, vo_screenheight) != 0) { mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s\n", strerror(errno)); exit_player("vidix error"); /* !!! */ @@ -193,7 +192,7 @@ static void set_window(int force_update,const vo_tune_info_t *info) * allocate colors and (shared) memory */ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, - uint32_t d_height, uint32_t flags, char *title, uint32_t format,const vo_tune_info_t *info) + uint32_t d_height, uint32_t flags, char *title, uint32_t format) { XVisualInfo vinfo; XSizeHints hint; @@ -333,10 +332,8 @@ else vidix_grkey_set(&gr_key); } - set_window(1,info); + set_window(1); - if(info) memcpy(&vtune,info,sizeof(vo_tune_info_t)); - else memset(&vtune,0,sizeof(vo_tune_info_t)); XFlush(mDisplay); XSync(mDisplay, False); @@ -359,7 +356,7 @@ static void check_events(void) const int event = vo_x11_check_events(mDisplay); if ((event & VO_EVENT_RESIZE) || (event & VO_EVENT_EXPOSE)) - set_window(0,&vtune); + set_window(0); return; } @@ -445,7 +442,7 @@ static uint32_t control(uint32_t request, void *data, ...) if ( vo_fs && ( vo_panscan != vo_panscan_amount ) ) { panscan_calc(); - set_window( 0,&vtune ); + set_window(0); } return VO_TRUE; case VOCTRL_SET_EQUALIZER: |