mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
vaapih264enc: fix log message
Before the log wasn't processed because wrong instance pointer.
This commit is contained in:
parent
25422b6766
commit
6eafebc804
1 changed files with 2 additions and 2 deletions
|
@ -361,8 +361,6 @@ retry:
|
|||
ret = TRUE;
|
||||
}
|
||||
|
||||
GST_INFO_OBJECT (encode, "out caps %" GST_PTR_FORMAT, caps);
|
||||
|
||||
if (!ret)
|
||||
GST_LOG ("There is no compatible profile in the requested caps.");
|
||||
|
||||
|
@ -390,6 +388,8 @@ gst_vaapiencode_h264_get_caps (GstVaapiEncode * base_encode)
|
|||
if (profile != GST_VAAPI_PROFILE_UNKNOWN)
|
||||
set_compatible_profile (encode, caps, profile);
|
||||
|
||||
GST_INFO_OBJECT (base_encode, "out caps %" GST_PTR_FORMAT, caps);
|
||||
|
||||
/* XXX: update level information */
|
||||
return caps;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue