vlc | branch: master | Steve Lhomme <[email protected]> | Thu Sep 17 16:54:04 
2020 +0200| [096c16e6a6e02883051ab0eb8fc370d78ca31432] | committer: Steve Lhomme

vaapi: use the picture_chain API

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=096c16e6a6e02883051ab0eb8fc370d78ca31432
---

 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 4d168bfccf..debe2b507b 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;

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to