[vlc-devel] [PATCH v2 20/24] vaapi: use the picture_chain API
Steve Lhomme
robux4 at ycbcr.xyz
Fri Sep 18 16:45:26 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..8a3a70ad9a2 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_chain( 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