[vlc-commits] video_output: use the picture_chain API

Steve Lhomme git at videolan.org
Wed Sep 23 16:18:01 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Sep 17 16:45:59 2020 +0200| [5e921b7317391bf44cec1366d5495d32d3e2a028] | committer: Steve Lhomme

video_output: use the picture_chain API

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

 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 16c3b95dab..de9329bfcb 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);
 }



More information about the vlc-commits mailing list