[vlc-devel] [PATCH v3 20/24] vaapi: use the picture_chain API

Steve Lhomme robux4 at ycbcr.xyz
Mon Sep 21 08:29:56 CEST 2020


---
 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 4d168bfccf3..debe2b507b1 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;
-- 
2.26.2



More information about the vlc-devel mailing list