mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 02:15:31 +00:00
vaapiencode: promote info to warning
Let's notify user about using constrained-baseline instead on requested basline profile.
This commit is contained in:
parent
866a9f069d
commit
e25ef7dfc2
1 changed files with 2 additions and 2 deletions
|
@ -387,8 +387,8 @@ retry:
|
||||||
if (!gst_caps_can_intersect (allowed_caps, tmp_caps)) {
|
if (!gst_caps_can_intersect (allowed_caps, tmp_caps)) {
|
||||||
if (profile == GST_VAAPI_PROFILE_H264_CONSTRAINED_BASELINE) {
|
if (profile == GST_VAAPI_PROFILE_H264_CONSTRAINED_BASELINE) {
|
||||||
profile = GST_VAAPI_PROFILE_H264_BASELINE;
|
profile = GST_VAAPI_PROFILE_H264_BASELINE;
|
||||||
GST_INFO ("user might requested baseline profile, "
|
GST_WARNING_OBJECT (GST_VAAPIENCODE_CAST (encode), "user might requested "
|
||||||
"trying constrained-baseline instead");
|
"baseline profile, trying constrained-baseline instead");
|
||||||
goto retry;
|
goto retry;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue