[vlc-commits] [Git][videolan/vlc][master] video_output: reset displayed date when current picture is flushed

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sat Dec 10 11:42:31 UTC 2022



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
8c4ad927 by Steve Lhomme at 2022-12-10T11:23:52+00:00
video_output: reset displayed date when current picture is flushed

The date is used to tell if+when we can redisplay the current picture.
If that picture is gone we should not try to redisplay it.

- - - - -


1 changed file:

- src/video_output/video_output.c


Changes:

=====================================
src/video_output/video_output.c
=====================================
@@ -761,6 +761,7 @@ static void FilterFlush(vout_thread_sys_t *sys, bool is_locked)
     {
         picture_Release( sys->displayed.current );
         sys->displayed.current = NULL;
+        sys->displayed.date = VLC_TICK_INVALID;
     }
 
     if (!is_locked)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c4ad927352a0a841d02fe099570fa880d452449

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/8c4ad927352a0a841d02fe099570fa880d452449
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list