[vlc-devel] [PATCH v4 15/24] video_output: use the picture_chain API

Steve Lhomme robux4 at ycbcr.xyz
Mon Sep 21 13:48:13 CEST 2020


---
 src/video_output/video_output.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/video_output/video_output.c b/src/video_output/video_output.c
index 16c3b95dab4..de9329bfcb9 100644
--- a/src/video_output/video_output.c
+++ b/src/video_output/video_output.c
@@ -494,7 +494,7 @@ void vout_PutPicture(vout_thread_t *vout, picture_t *picture)
 {
     vout_thread_sys_t *sys = VOUT_THREAD_TO_SYS(vout);
     assert(!sys->dummy);
-    picture->p_next = NULL;
+    assert( !picture_HasChainedPics( picture ) );
     picture_fifo_Push(sys->decoder_fifo, picture);
     vout_control_Wake(&sys->control);
 }
-- 
2.26.2



More information about the vlc-devel mailing list