[vlc-commits] vaapi: fix compilation after f0f50648126077de7280b4e5197e4a6ea2689567

Steve Lhomme git at videolan.org
Tue Oct 13 07:49:49 CEST 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Oct 13 07:49:13 2020 +0200| [442904e35e188f7e09a3c31cb2f495b15248a78a] | committer: Steve Lhomme

vaapi: fix compilation after f0f50648126077de7280b4e5197e4a6ea2689567

This went one step too far in this commit.

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

 modules/hw/vaapi/filters.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/hw/vaapi/filters.c b/modules/hw/vaapi/filters.c
index f75ca6d330..e9a7768cf8 100644
--- a/modules/hw/vaapi/filters.c
+++ b/modules/hw/vaapi/filters.c
@@ -1163,5 +1163,6 @@ vlc_module_begin()
     add_shortcut("sharpen")
 
     add_submodule()
-    set_video_converter_callback(vlc_vaapi_OpenChroma, 10)
+    set_capability("video converter", 10)
+    set_callback(vlc_vaapi_OpenChroma)
 vlc_module_end()



More information about the vlc-commits mailing list