From e25ef7dfc25af0f606d698f7b35e348e19920e11 Mon Sep 17 00:00:00 2001 From: Víctor Manuel Jáquez Leal Date: Tue, 21 Jan 2020 14:09:33 +0100 Subject: vaapiencode: promote info to warning Let's notify user about using constrained-baseline instead on requested basline profile. --- gst/vaapi/gstvaapiencode_h264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/vaapi/gstvaapiencode_h264.c b/gst/vaapi/gstvaapiencode_h264.c index 72aeac5e..28656a94 100644 --- a/gst/vaapi/gstvaapiencode_h264.c +++ b/gst/vaapi/gstvaapiencode_h264.c @@ -387,8 +387,8 @@ retry: if (!gst_caps_can_intersect (allowed_caps, tmp_caps)) { if (profile == GST_VAAPI_PROFILE_H264_CONSTRAINED_BASELINE) { profile = GST_VAAPI_PROFILE_H264_BASELINE; - GST_INFO ("user might requested baseline profile, " - "trying constrained-baseline instead"); + GST_WARNING_OBJECT (GST_VAAPIENCODE_CAST (encode), "user might requested " + "baseline profile, trying constrained-baseline instead"); goto retry; } } else { -- cgit v1.2.3