summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-17 14:22:48 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-01-19 10:46:13 +0100
commit6eafebc80474cc8a19d5e886b19948dbc52944f6 (patch)
tree3538fc41dce7f7a3d4c8c2246fb0c288fdfdf7aa /gst
parent25422b6766ceb18778067f34e6d6b19da74bed8d (diff)
vaapih264enc: fix log message
Before the log wasn't processed because wrong instance pointer.
Diffstat (limited to 'gst')
-rw-r--r--gst/vaapi/gstvaapiencode_h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/vaapi/gstvaapiencode_h264.c b/gst/vaapi/gstvaapiencode_h264.c
index 3a119bcc..f623f67b 100644
--- a/gst/vaapi/gstvaapiencode_h264.c
+++ b/gst/vaapi/gstvaapiencode_h264.c
@@ -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;
}