Browse Source

vaapi_encode: Fix format specifier for bitrate logging

Same as e0df56f25d.  This was accidentally
reintroduced while merging c8241e730f.
tags/n3.3
Mark Thompson 9 years ago
parent
commit
f242e0a0ff
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      libavcodec/vaapi_encode_h264.c
  2. +1
    -1
      libavcodec/vaapi_encode_h265.c

+ 1
- 1
libavcodec/vaapi_encode_h264.c View File

@@ -1130,7 +1130,7 @@ static av_cold int vaapi_encode_h264_configure(AVCodecContext *avctx)
priv->fixed_qp_p = 26;
priv->fixed_qp_b = 26;

av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %d bps.\n",
av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %"PRId64" bps.\n",
avctx->bit_rate);

} else {


+ 1
- 1
libavcodec/vaapi_encode_h265.c View File

@@ -1190,7 +1190,7 @@ static av_cold int vaapi_encode_h265_configure(AVCodecContext *avctx)
priv->fixed_qp_p = 30;
priv->fixed_qp_b = 30;

av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %d bps.\n",
av_log(avctx, AV_LOG_DEBUG, "Using constant-bitrate = %"PRId64" bps.\n",
avctx->bit_rate);

} else {


Loading…
Cancel
Save