From patchwork Mon Aug 27 11:17:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zhong Li X-Patchwork-Id: 10150 Delivered-To: ffmpegpatchwork@gmail.com Received: by 2002:a02:12c4:0:0:0:0:0 with SMTP id 65-v6csp6308776jap; Mon, 27 Aug 2018 04:16:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaCkoOxLvMkTUpNsBth+XzMqrJSY7cN74Wnhjaa+Pp57GdtFC3A3WikN/baNBzlvH/PkPiW X-Received: by 2002:a7b:c017:: with SMTP id c23-v6mr5489128wmb.136.1535368578734; Mon, 27 Aug 2018 04:16:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535368578; cv=none; d=google.com; s=arc-20160816; b=pSeH3z8hsfxYGwNcuktEIjDZqJBDb2pXqOggc/OpxJthxOpRfUxTwHNnR9ZlyPPWH3 aI1Hf0Q5HgwwE2xrZIGXQQ3hqSa7HtTXPD/Gh1qWRZOn/drrIavk7DZ0u/IlONpZw/bp wBBfkYLnTmb7N3BpAuhJgUkmgDCfeIT1jzt/t7DIeV3qewQ7JjKo4GpkEzqzTVfHVYpV 5W0JaSUR1UM0JkVM25YyS0ZnvHWvfbd1PIMrKYW7ZCcUIBZDUUgth/wOSWt+HqWrVOcg 6nZPGOysMuW32UPo423FJaOL6Hwubch7Zpm0xHA8PhyeSxVfGMV86VLYSJaYRHleKHCz Jc9g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:delivered-to :arc-authentication-results; bh=aE4y8pli041kS6J7OgdCVHkcNUsZBUKPnGiBeqj3jDw=; b=Xg4qoTpc+v09uQZ4ckCCIl1IW2wATB7vgAEebwLGLLtJ30C+j5QQEpI8fGwBBrdAKC cR/FXEj+LDMc9ac0uuETy5ee6ifph22HX3i1Vwe8E2qfPB+yFv0BN+elok02iiq2ECWd JBwqlDceeTmueaIx9yrXEtIOB4nLC+NBO3336AzogRZt0Wk7YHk8uAQMxFxxZ7ToWDVK bVECTPwuVcWOddHbjidqLAjXsHpjy8heZJt5Ed9arF1MzaZXtTrU3DDlPyw50TGjR7zq rFF7a2zZPJTV8h1c3NXCLCKvlxJ7B79hu3nSp8jXSoH9KsvSLxWoqy9lOFWzIlyfTzAi oLJQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id i8-v6si8138932wre.380.2018.08.27.04.16.17; Mon, 27 Aug 2018 04:16:18 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 308A4689BA3; Mon, 27 Aug 2018 14:16:13 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 07190680636 for ; Mon, 27 Aug 2018 14:16:05 +0300 (EEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Aug 2018 04:16:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,295,1531810800"; d="scan'208";a="227971154" Received: from media_ffmpeg_skl_e3.sh.intel.com ([10.239.156.42]) by orsmga004.jf.intel.com with ESMTP; 27 Aug 2018 04:16:02 -0700 From: Zhong Li To: ffmpeg-devel@ffmpeg.org Date: Mon, 27 Aug 2018 19:17:05 +0800 Message-Id: <1535368625-5549-1-git-send-email-zhong.li@intel.com> X-Mailer: git-send-email 2.7.4 Subject: [FFmpeg-devel] [PATCH] lavc/qsvenc: dump BufferSizeInKB message X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Zhong Li MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index c2c2911..611449c 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -160,8 +160,8 @@ static void dump_video_param(AVCodecContext *avctx, QSVEncContext *q, #endif ) { av_log(avctx, AV_LOG_VERBOSE, - "InitialDelayInKB: %"PRIu16"; TargetKbps: %"PRIu16"; MaxKbps: %"PRIu16"\n", - info->InitialDelayInKB, info->TargetKbps, info->MaxKbps); + "BufferSizeInKB: %"PRIu16"; InitialDelayInKB: %"PRIu16"; TargetKbps: %"PRIu16"; MaxKbps: %"PRIu16"\n", + info->BufferSizeInKB, info->InitialDelayInKB, info->TargetKbps, info->MaxKbps); } else if (info->RateControlMethod == MFX_RATECONTROL_CQP) { av_log(avctx, AV_LOG_VERBOSE, "QPI: %"PRIu16"; QPP: %"PRIu16"; QPB: %"PRIu16"\n", info->QPI, info->QPP, info->QPB);