[vlc-devel] [PATCH 2/3] vaapi: use set_callback_dec_device()
Steve Lhomme
robux4 at ycbcr.xyz
Fri Jul 19 15:34:09 CEST 2019
---
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)
--
2.17.1
More information about the vlc-devel
mailing list