[vlc-devel] [PATCH v2 15/24] video_output: use the picture_chain API
Steve Lhomme
robux4 at ycbcr.xyz
Fri Sep 18 16:45:21 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..6deb34a244d 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_has_chained_pics( picture ) );
picture_fifo_Push(sys->decoder_fifo, picture);
vout_control_Wake(&sys->control);
}
--
2.26.2
More information about the vlc-devel
mailing list