[vlc-commits] mmal/deinterlace: use vlc_picture_chain_AppendChain for chained pictures

Steve Lhomme git at videolan.org
Wed Oct 7 08:48:22 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Oct  7 08:45:04 2020 +0200| [731e64ae8c367f9d88388f5dce62a1d9f6d0a029] | committer: Steve Lhomme

mmal/deinterlace: use vlc_picture_chain_AppendChain for chained pictures

We're not using a picture chain (vlc_picture_chain_t) but a chain of pictures.

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

 modules/hw/mmal/deinterlace.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/hw/mmal/deinterlace.c b/modules/hw/mmal/deinterlace.c
index 2709a1f173..0159cdb3a0 100644
--- a/modules/hw/mmal/deinterlace.c
+++ b/modules/hw/mmal/deinterlace.c
@@ -284,7 +284,8 @@ static picture_t *deinterlace(filter_t * p_filter, picture_t * p_pic)
         }
         out_buf = NULL;  // Now attached to pic or recycled
 
-        chain_tail = vlc_picture_chain_Append( &ret_pics, chain_tail, out_pic );
+        vlc_picture_chain_AppendChain( chain_tail, out_pic );
+        chain_tail = out_pic;
 
         // Ignore 0 seqs
         // Don't think these should actually happen



More information about the vlc-commits mailing list