[vlc-commits] display: reset the picture reset flag every time we reset the display

Steve Lhomme git at videolan.org
Mon Oct 28 09:32:22 CET 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Oct 24 17:02:15 2019 +0200| [32ce8aa5dcff899699c9c81af4a0176dd0accca2] | committer: Steve Lhomme

display: reset the picture reset flag every time we reset the display

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

 src/video_output/display.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/video_output/display.c b/src/video_output/display.c
index d2b0e51c7e..96a7c6296f 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -455,6 +455,10 @@ static void vout_display_Reset(vout_display_t *vd)
 {
     vout_display_priv_t *osys = container_of(vd, vout_display_priv_t, display);
 
+#ifdef _WIN32
+    osys->reset_pictures = false;
+#endif
+
     if (osys->converters != NULL) {
         filter_chain_Delete(osys->converters);
         osys->converters = NULL;



More information about the vlc-commits mailing list