You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc/vaapi_encoder_{h264,h265}: fix bad format warning
This commit is contained in:
@@ -769,7 +769,7 @@ static av_cold int vaapi_encode_h264_init_constant_bitrate(AVCodecContext *avctx
|
|||||||
priv->fixed_qp_p = 26;
|
priv->fixed_qp_p = 26;
|
||||||
priv->fixed_qp_b = 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);
|
avctx->bit_rate);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -1196,7 +1196,7 @@ static av_cold int vaapi_encode_h265_init_constant_bitrate(AVCodecContext *avctx
|
|||||||
priv->fixed_qp_p = 30;
|
priv->fixed_qp_p = 30;
|
||||||
priv->fixed_qp_b = 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);
|
avctx->bit_rate);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user