[vlc-commits] vaapi: add a warning when doing sw conversion

Thomas Guillem git at videolan.org
Fri Nov 17 10:23:33 CET 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Nov 14 18:44:34 2017 +0100| [2021d58821974d71848ba53d22dace7057b19a85] | committer: Thomas Guillem

vaapi: add a warning when doing sw conversion

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

 modules/hw/vaapi/chroma.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/modules/hw/vaapi/chroma.c b/modules/hw/vaapi/chroma.c
index 4ee12fa91b..3e5aef35db 100644
--- a/modules/hw/vaapi/chroma.c
+++ b/modules/hw/vaapi/chroma.c
@@ -386,6 +386,11 @@ vlc_vaapi_OpenChroma(vlc_object_t *obj)
     }
 
     filter->p_sys = filter_sys;
+    msg_Warn(obj, "Using SW chroma filter for %dx%d %4.4s -> %4.4s",
+             filter->fmt_in.video.i_width,
+             filter->fmt_in.video.i_height,
+             (const char *) &filter->fmt_in.video.i_chroma,
+             (const char *) &filter->fmt_out.video.i_chroma);
 
     return VLC_SUCCESS;
 }



More information about the vlc-commits mailing list