[vlc-commits] vdpau: use set_va_callback()

Steve Lhomme git at videolan.org
Mon Jul 22 11:43:25 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul 22 10:13:42 2019 +0200| [f769ce4c32cccb8197227b05a2634be1c2d1c08a] | committer: Steve Lhomme

vdpau: use set_va_callback()

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

 modules/hw/vdpau/avcodec.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/hw/vdpau/avcodec.c b/modules/hw/vdpau/avcodec.c
index 6e4d4d54d2..913e391562 100644
--- a/modules/hw/vdpau/avcodec.c
+++ b/modules/hw/vdpau/avcodec.c
@@ -228,9 +228,8 @@ error:
 
 vlc_module_begin()
     set_description(N_("VDPAU video decoder"))
-    set_capability("hw decoder", 100)
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_VCODEC)
-    set_callback(Open)
+    set_va_callback(Open, 100)
     add_shortcut("vdpau")
 vlc_module_end()



More information about the vlc-commits mailing list