[vlc-commits] vaapi: use the picture_chain API

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


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Sep 17 16:54:04 2020 +0200| [096c16e6a6e02883051ab0eb8fc370d78ca31432] | committer: Steve Lhomme

vaapi: use the picture_chain API

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

 modules/hw/vaapi/filters.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/hw/vaapi/filters.c b/modules/hw/vaapi/filters.c
index 4d168bfccf..debe2b507b 100644
--- a/modules/hw/vaapi/filters.c
+++ b/modules/hw/vaapi/filters.c
@@ -883,7 +883,7 @@ DeinterlaceX2(filter_t * filter, picture_t * src)
         dest[i]->i_nb_fields = 1;
     }
 
-    dest[0]->p_next = dest[1];
+    vlc_picture_chain_AppendChain( dest[0], dest[1] );
     dest[0]->date = cur->date;
     if (dest[0]->date != VLC_TICK_INVALID)
         dest[1]->date = dest[0]->date + i_field_dur;



More information about the vlc-commits mailing list