[vlc-commits] vaapi: use set_callback_dec_device()

Steve Lhomme git at videolan.org
Mon Jul 22 07:20:40 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri Jul 12 10:29:13 2019 +0200| [1bd13d7fbc0431888bac804d05b6161b7a832bb3] | committer: Steve Lhomme

vaapi: use set_callback_dec_device()

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

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

diff --git a/modules/hw/vaapi/decoder_device.c b/modules/hw/vaapi/decoder_device.c
index 65c3c1ae09..bde1e62115 100644
--- a/modules/hw/vaapi/decoder_device.c
+++ b/modules/hw/vaapi/decoder_device.c
@@ -264,8 +264,7 @@ Open(vlc_decoder_device *device, vout_window_t *window)
 
 vlc_module_begin ()
     set_description("VA-API decoder device for " DESCRIPTION_SUFFIX)
-    set_capability("decoder device", PRIORITY)
-    set_callback(Open)
+    set_callback_dec_device(Open, PRIORITY)
     set_category(CAT_VIDEO)
     set_subcategory(SUBCAT_VIDEO_VOUT)
     add_shortcut("vaapi", SHORTCUT)



More information about the vlc-commits mailing list