[FFmpeg-cvslog] qsvenc: Fix a typo of FrameRateExtD/FrameRateExtN

Zhong Li git at videolan.org
Fri Mar 30 02:36:22 EEST 2018


ffmpeg | branch: master | Zhong Li <zhong.li at intel.com> | Thu Mar 15 18:02:11 2018 +0800| [3d6e76b953afd36e23ef8532b81aea58a6338931] | committer: Luca Barbato

qsvenc: Fix a typo of FrameRateExtD/FrameRateExtN

Signed-off-by: Zhong Li <zhong.li at intel.com>
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d6e76b953afd36e23ef8532b81aea58a6338931
---

 libavcodec/qsvenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index d4dd4a3b94..baa2c6307f 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -374,7 +374,7 @@ static int check_enc_param(AVCodecContext *avctx, QSVEncContext *q)
             av_log(avctx, AV_LOG_ERROR, "Selected ratecontrol mode is unsupported\n");
         if (UNMATCH(LowPower))
               av_log(avctx, AV_LOG_ERROR, "Low power mode is unsupported\n");
-        if (UNMATCH(FrameInfo.FrameRateExtN) || UNMATCH(FrameInfo.FrameRateExtN))
+        if (UNMATCH(FrameInfo.FrameRateExtN) || UNMATCH(FrameInfo.FrameRateExtD))
               av_log(avctx, AV_LOG_ERROR, "Current frame rate is unsupported\n");
         if (UNMATCH(FrameInfo.PicStruct))
               av_log(avctx, AV_LOG_ERROR, "Current picture structure is unsupported\n");



More information about the ffmpeg-cvslog mailing list