[vlc-devel] [PATCH 19/22] vaapi: use the picture_chain API
Steve Lhomme
robux4 at ycbcr.xyz
Thu Sep 17 17:33:41 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..cf1e0a3dbfe 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];
+ picture_chain_append( 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