This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 03f239cd742275b6885336c4f61593ebc4e07cf4
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Oct 15 18:21:16 2026 +0200
Commit:     michaelni <[email protected]>
CommitDate: Sun Oct 18 03:19:28 2026 +0000

    ffplay: do not render a hidden list
    
    A resize or a clearing of a hidden list drops what was rendered instead
    of rendering it again for nobody.
    
    Assisted-by: Claude
---
 fftools/ffplay_list.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/fftools/ffplay_list.c b/fftools/ffplay_list.c
index de1ff54891..01fceba0ac 100644
--- a/fftools/ffplay_list.c
+++ b/fftools/ffplay_list.c
@@ -832,7 +832,7 @@ void list_view_clear(ListView *lv)
     for (int i = 0; i < LIST_SORT_NB; i++)
         lv->sort[i] = (ListSortKey){ i, 0 };
     lv->shuffle_seed   = 0;
-    lv->render_pending = 1;
+    list_discard(lv);
 }
 
 void list_view_pin(ListView *lv, int pinned)
@@ -933,8 +933,10 @@ void list_view_set_size(ListView *lv, int width, int 
height)
         return;
     lv->width  = width;
     lv->height = height;
-    if (lv->bitmap)
+    if (list_view_visible(lv))
         lv->render_pending = 1;
+    else
+        list_discard(lv);
 }
 
 void list_view_set_playing(ListView *lv, int entry)

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to