[vlc-devel] [PATCH 3/3] vdpau: use set_callback_dec_device()

Steve Lhomme robux4 at ycbcr.xyz
Fri Jul 19 15:34:10 CEST 2019


---
 modules/video_output/opengl/converter_vdpau.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/modules/video_output/opengl/converter_vdpau.c b/modules/video_output/opengl/converter_vdpau.c
index 40f2fc4e41..ce43b5621d 100644
--- a/modules/video_output/opengl/converter_vdpau.c
+++ b/modules/video_output/opengl/converter_vdpau.c
@@ -214,6 +214,5 @@ vlc_module_begin ()
     set_subcategory(SUBCAT_VIDEO_VOUT)
     add_shortcut("vdpau")
     add_submodule()
-        set_capability("decoder device", 3)
-        set_callbacks(DecoderContextOpen, DecoderContextClose)
+        set_callback_dec_device(DecoderContextOpen, 3)
 vlc_module_end ()
-- 
2.17.1



More information about the vlc-devel mailing list