[vlc-commits] display: reindent

Rémi Denis-Courmont git at videolan.org
Sat Jan 12 15:09:44 CET 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jan 12 15:57:39 2019 +0200| [ab15dcc3d554107555a8ac7ed3540c246c33ca5e] | committer: Rémi Denis-Courmont

display: reindent

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab15dcc3d554107555a8ac7ed3540c246c33ca5e
---

 src/video_output/display.c | 34 +++++++++++++++++-----------------
 1 file changed, 17 insertions(+), 17 deletions(-)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index 2a8e9594bd..805804dd5d 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -748,26 +748,26 @@ static vout_display_t *DisplayNew(vlc_object_t *parent,
     vd->sys = NULL;
     vd->owner = *owner;
 
-        vd->module = vlc_module_load(vd, "vout display", module,
-                                     module && *module != '\0',
-                                     vout_display_start, vd, &osys->cfg,
-                                     &vd->fmt, (vlc_video_context *)NULL);
-        if (vd->module == NULL)
-            goto error;
+    vd->module = vlc_module_load(vd, "vout display", module,
+                                 module && *module != '\0',
+                                 vout_display_start, vd, &osys->cfg,
+                                 &vd->fmt, (vlc_video_context *)NULL);
+    if (vd->module == NULL)
+        goto error;
 
-        vout_window_SetSize(osys->cfg.window,
-                            osys->cfg.display.width, osys->cfg.display.height);
+    vout_window_SetSize(osys->cfg.window,
+                        osys->cfg.display.width, osys->cfg.display.height);
 
 #if defined(_WIN32) || defined(__OS2__)
-        if ((var_GetBool(parent, "fullscreen")
-          || var_GetBool(parent, "video-wallpaper"))
-         && vout_display_Control(vd, VOUT_DISPLAY_CHANGE_FULLSCREEN,
-                                 true) == VLC_SUCCESS)
-            osys->cfg.is_fullscreen = true;
-
-        if (var_InheritBool(parent, "video-on-top"))
-            vout_display_Control(vd, VOUT_DISPLAY_CHANGE_WINDOW_STATE,
-                                 (unsigned)VOUT_WINDOW_STATE_ABOVE);
+    if ((var_GetBool(parent, "fullscreen")
+      || var_GetBool(parent, "video-wallpaper"))
+     && vout_display_Control(vd, VOUT_DISPLAY_CHANGE_FULLSCREEN,
+                             true) == VLC_SUCCESS)
+        osys->cfg.is_fullscreen = true;
+
+    if (var_InheritBool(parent, "video-on-top"))
+        vout_display_Control(vd, VOUT_DISPLAY_CHANGE_WINDOW_STATE,
+                             (unsigned)VOUT_WINDOW_STATE_ABOVE);
 #endif
 
     if (VoutDisplayCreateRender(vd)) {



More information about the vlc-commits mailing list