[vlc-commits] video_output: reindent

Steve Lhomme git at videolan.org
Tue Jan 19 12:29:48 UTC 2021


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Nov 18 11:20:24 2020 +0100| [1fcabd763234a04bc924e45a489078513968fc38] | committer: Steve Lhomme

video_output: reindent

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

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

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index eafd367c5f..6683fb6ea5 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -1541,21 +1541,21 @@ static int ThreadDisplayPicture(vout_thread_sys_t *vout, vlc_tick_t *deadline)
                         break;
                     else
                     {
-                    // 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 (unlikely(pic_system_pts == INT64_MAX))
-                        break;
-                    else
-                        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 (unlikely(pic_system_pts == INT64_MAX))
+                            break;
+                        else
+                            pic_render_deadline = pic_system_pts - render_delay;
                     }
                 }
 



More information about the vlc-commits mailing list