From: Víctor Manuel Jáquez Leal Date: Fri, 17 Jan 2020 13:22:48 +0000 (+0100) Subject: vaapih264enc: fix log message X-Git-Tag: 1.19.3~503^2~300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6eafebc80474cc8a19d5e886b19948dbc52944f6;p=platform%2Fupstream%2Fgstreamer.git vaapih264enc: fix log message Before the log wasn't processed because wrong instance pointer. --- diff --git a/gst/vaapi/gstvaapiencode_h264.c b/gst/vaapi/gstvaapiencode_h264.c index 3a119bc..f623f67 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; }