[vlc-commits] mmal/deinterlace: use vlc_picture_chain_AppendChain for chained pictures
Steve Lhomme
git at videolan.org
Wed Oct 7 10:20:51 CEST 2020
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed Oct 7 08:45:04 2020 +0200| [c255e42bec522b433f98d3cadf1d30ec487f0bb7] | 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=c255e42bec522b433f98d3cadf1d30ec487f0bb7
---
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