aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2018-03-29 20:32:57 -0300
committerJames Almer <jamrial@gmail.com>2018-03-29 20:32:57 -0300
commit20608261f7818fc034f96034a089e755f095716e (patch)
treec9b3a648ac6206745f42555969ef89a5ffaf996d /libavcodec/qsvenc.c
parent7e3c4d029b8ecf17f3ae17ad6861730a9393ef09 (diff)
parent3d6e76b953afd36e23ef8532b81aea58a6338931 (diff)
downloadffmpeg-20608261f7818fc034f96034a089e755f095716e.tar.gz
Merge commit '3d6e76b953afd36e23ef8532b81aea58a6338931'
* commit '3d6e76b953afd36e23ef8532b81aea58a6338931': qsvenc: Fix a typo of FrameRateExtD/FrameRateExtN Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc.c')
-rw-r--r--libavcodec/qsvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c
index 9710f5b416..0d2e223fb4 100644
--- a/libavcodec/qsvenc.c
+++ b/libavcodec/qsvenc.c
@@ -366,7 +366,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");