diff options
author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-03-18 18:09:01 -0700 |
---|---|---|
committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2020-03-18 18:09:01 -0700 |
commit | 284b1229a51f9f28fa43fb73925b61a2b359deda (patch) | |
tree | a3da81067674afa4929e50cf3bb2345f517b2e41 /qcma-avdecoder.patch | |
download | qcma-284b1229a51f9f28fa43fb73925b61a2b359deda.tar.xz |
Initial commit
Diffstat (limited to 'qcma-avdecoder.patch')
-rw-r--r-- | qcma-avdecoder.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/qcma-avdecoder.patch b/qcma-avdecoder.patch new file mode 100644 index 0000000..ec67f84 --- /dev/null +++ b/qcma-avdecoder.patch @@ -0,0 +1,13 @@ +diff --git a/common/avdecoder.cpp b/common/avdecoder.cpp +index 6e4306d..8c667b2 100644 +--- a/common/avdecoder.cpp ++++ b/common/avdecoder.cpp +@@ -350,7 +350,7 @@ QByteArray AVDecoder::WriteJPEG(AVCodecContext *pCodecCtx, AVFrame *pFrame, int + + pOCodecCtx->mb_lmin = pOCodecCtx->qmin * FF_QP2LAMBDA; + pOCodecCtx->mb_lmax = pOCodecCtx->qmax * FF_QP2LAMBDA; +- pOCodecCtx->flags = CODEC_FLAG_QSCALE; ++ pOCodecCtx->flags = AV_CODEC_FLAG_QSCALE; + pOCodecCtx->global_quality = pOCodecCtx->qmin * FF_QP2LAMBDA; + + pFrame->pts = 1; |