[vlc-devel] [PATCH 18/22] vdpau: use the picture_chain API
Steve Lhomme
robux4 at ycbcr.xyz
Thu Sep 17 17:33:40 CEST 2020
---
modules/hw/vdpau/deinterlace.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/hw/vdpau/deinterlace.c b/modules/hw/vdpau/deinterlace.c
index 0302c640e54..296977f17c9 100644
--- a/modules/hw/vdpau/deinterlace.c
+++ b/modules/hw/vdpau/deinterlace.c
@@ -77,8 +77,8 @@ static picture_t *Deinterlace(filter_t *filter, picture_t *src)
dst->i_nb_fields = 1;
src->i_nb_fields = 1;
- assert(src->p_next == NULL);
- src->p_next = dst;
+ assert(picture_chain_empty(src));
+ picture_chain_append( src, dst );
if (src->b_progressive || src->b_top_field_first)
{
--
2.26.2
More information about the vlc-devel
mailing list