[vlc-devel] [PATCH 03/17] video_output: reindent

Steve Lhomme robux4 at ycbcr.xyz
Fri Nov 20 15:44:53 CET 2020


---
 src/video_output/video_output.c | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index e78b0fd8480..2ecb4d8161d 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1539,19 +1539,19 @@ static int ThreadDisplayPicture(vout_thread_sys_t *vout, vlc_tick_t *deadline)
                     next = ThreadDisplayPreparePicture(vout, false, false, &paused);
                     if (likely(next != NULL))
                     {
-                    // next frame will still need some waiting before display
-                    dropped_current_frame = true;
-                    render_now = false;
-
-                    if (likely(sys->displayed.current != NULL))
-                        picture_Release(sys->displayed.current);
-                    sys->displayed.current = next;
-
-                    pic_system_pts =
-                        vlc_clock_ConvertToSystem(sys->clock, vlc_tick_now(),
-                                                  sys->displayed.current->date, sys->rate);
-                    if (likely(pic_system_pts != INT64_MAX))
-                        pic_render_deadline = pic_system_pts - render_delay;
+                        // next frame will still need some waiting before display
+                        dropped_current_frame = true;
+                        render_now = false;
+
+                        if (likely(sys->displayed.current != NULL))
+                            picture_Release(sys->displayed.current);
+                        sys->displayed.current = next;
+
+                        pic_system_pts =
+                            vlc_clock_ConvertToSystem(sys->clock, vlc_tick_now(),
+                                                      sys->displayed.current->date, sys->rate);
+                        if (likely(pic_system_pts != INT64_MAX))
+                            pic_render_deadline = pic_system_pts - render_delay;
                     }
                 }
 
-- 
2.26.2



More information about the vlc-devel mailing list