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

Steve Lhomme robux4 at ycbcr.xyz
Mon Jul 15 13:55:58 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 d40d5d181f..a518e8d0cf 100644
--- a/modules/video_output/opengl/converter_vdpau.c
+++ b/modules/video_output/opengl/converter_vdpau.c
@@ -209,6 +209,5 @@ vlc_module_begin ()
     set_subcategory(SUBCAT_VIDEO_VOUT)
     add_shortcut("vdpau")
     add_submodule()
-        set_capability("decoder device", 3)
-        set_callbacks(DecoderContextOpen, DecoderContextClose)
+        set_callbacks_dec_device(DecoderContextOpen, DecoderContextClose, 3)
 vlc_module_end ()
-- 
2.17.1



More information about the vlc-devel mailing list