[vlc-devel] [PATCH v2 19/24] vdpau: use the picture_chain API
Steve Lhomme
robux4 at ycbcr.xyz
Fri Sep 18 16:45:25 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..d7c95283f6f 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_has_chained_pics(src));
+ picture_chain_append_chain( src, dst );
if (src->b_progressive || src->b_top_field_first)
{
--
2.26.2
More information about the vlc-devel
mailing list