[vlc-devel] [PATCH 2/3] display: reset the picture reset flag every time we reset the display

Steve Lhomme robux4 at ycbcr.xyz
Thu Oct 24 17:18:59 CEST 2019


---
 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 8c5d8539b4d..b44c318e10f 100644
--- a/src/video_output/display.c
+++ b/src/video_output/display.c
@@ -463,6 +463,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;
-- 
2.17.1



More information about the vlc-devel mailing list