mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 01:30:38 +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;
|
ret = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_INFO_OBJECT (encode, "out caps %" GST_PTR_FORMAT, caps);
|
|
||||||
|
|
||||||
if (!ret)
|
if (!ret)
|
||||||
GST_LOG ("There is no compatible profile in the requested caps.");
|
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)
|
if (profile != GST_VAAPI_PROFILE_UNKNOWN)
|
||||||
set_compatible_profile (encode, caps, profile);
|
set_compatible_profile (encode, caps, profile);
|
||||||
|
|
||||||
|
GST_INFO_OBJECT (base_encode, "out caps %" GST_PTR_FORMAT, caps);
|
||||||
|
|
||||||
/* XXX: update level information */
|
/* XXX: update level information */
|
||||||
return caps;
|
return caps;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue