]> git.sesse.net Git - vlc/commitdiff
vout: remove unused x/y settings in window configuration
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 9 Oct 2014 19:41:55 +0000 (22:41 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 16 Oct 2014 17:23:38 +0000 (20:23 +0300)
modules/video_output/gl.c
modules/video_output/kva.c
modules/video_output/msw/events.c
modules/video_output/xcb/events.c
modules/video_splitter/wall.c

index 3d1d19a7ee49d3bb29fd7871d8eaf5b5f71d136e..a2f4aa39948e34e2121d19f2d0d91c66db1a1cd2 100644 (file)
@@ -96,8 +96,6 @@ static int Control (vout_display_t *, int, va_list);
 static vout_window_t *MakeWindow (vout_display_t *vd)
 {
     vout_window_cfg_t cfg = {
-        .x = var_InheritInteger (vd, "video-x"),
-        .y = var_InheritInteger (vd, "video-y"),
         .width = vd->cfg->display.width,
         .height = vd->cfg->display.height,
     };
index b90f431859c18bb916265442b06fe2ceff7a2a23..96f0a63b1660b4593ae66d1fc7be8509056bda71 100644 (file)
@@ -180,8 +180,6 @@ static void PMThread( void *arg )
 
         wnd_cfg.is_standalone = false;
         wnd_cfg.type          = VOUT_WINDOW_TYPE_HWND;
-        wnd_cfg.x             = var_InheritInteger(vd, "video-x");
-        wnd_cfg.y             = var_InheritInteger(vd, "video-y");
         wnd_cfg.width         = vd->cfg->display.width;
         wnd_cfg.height        = vd->cfg->display.height;
 
index 934f0fede662a8ff300b9906136e8831f5dd744a..8fc802142342c93f76b48e65704438898e6b368f 100644 (file)
@@ -687,8 +687,6 @@ static int Win32VoutCreateWindow( event_thread_t *p_event )
     #endif
         vout_window_cfg_t wnd_cfg = {
             .type = VOUT_WINDOW_TYPE_HWND,
-            .x = p_event->x,
-            .y = p_event->y,
             .width = p_event->width,
             .height = p_event->height,
         };
index efb3adb8c18632a742108048289adc7428be8547..ba83de8528635b34c8ed1f54aa6321aa77228dd0 100644 (file)
@@ -133,8 +133,6 @@ vout_window_t *XCB_parent_Create (vout_display_t *vd,
 {
     vout_window_cfg_t cfg = {
         .type = VOUT_WINDOW_TYPE_XID,
-        .x = var_InheritInteger (vd, "video-x"),
-        .y = var_InheritInteger (vd, "video-y"),
         .width  = vd->cfg->display.width,
         .height = vd->cfg->display.height,
     };
index 5be60dcf313233e8b61a0b6ea5541cf953cecf4c..9a9829ac881fc96927893a5d8d0cb60607b1f198 100644 (file)
@@ -361,7 +361,7 @@ static int Open( vlc_object_t *p_this )
             p_cfg->fmt.i_height         = p_output->i_height;
             p_cfg->fmt.i_sar_num        = (int64_t)i_aspect * i_target_height;
             p_cfg->fmt.i_sar_den        = VOUT_ASPECT_FACTOR * i_target_width;
-            p_cfg->window.i_x     = p_output->i_left; /* FIXME relative to video-x/y (TODO in wrapper.c) ? */
+            p_cfg->window.i_x     = p_output->i_left;
             p_cfg->window.i_y     = p_output->i_top;
             p_cfg->window.i_align = p_output->i_align;
             p_cfg->psz_module = NULL;