vlc | branch: master | Steve Lhomme <[email protected]> | Thu Sep 17 16:37:06 
2020 +0200| [5ad1f243d8fc44edb31908a296d767aeedd3da58] | committer: Steve Lhomme

deinterlace: use the picture_chain API

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

 modules/video_filter/deinterlace/common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_filter/deinterlace/common.c 
b/modules/video_filter/deinterlace/common.c
index 1265c888a4..94a6280e37 100644
--- a/modules/video_filter/deinterlace/common.c
+++ b/modules/video_filter/deinterlace/common.c
@@ -236,7 +236,7 @@ picture_t *DoDeinterlacing( filter_t *p_filter,
             p_dst[i]           = AllocPicture( p_filter );
             if( p_dst[i] )
             {
-                p_dst[i-1]->p_next = p_dst[i];
+                vlc_picture_chain_AppendChain( p_dst[i-1], p_dst[i] );
                 picture_CopyProperties( p_dst[i], p_pic );
             }
             else

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to