diff --git a/gst/vaapi/gstvaapiencode_h264.c b/gst/vaapi/gstvaapiencode_h264.c index 3a119bccbb..f623f67b40 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; }