[vlc-commits] vdpau: use set_callback_dec_device()

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


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

vdpau: use set_callback_dec_device()

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

 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 ()



More information about the vlc-commits mailing list