Skip to content

Commit

Permalink
MPCVideoDec: разрешаем использовать декодер VVC, который недавно в FF…
Browse files Browse the repository at this point in the history
…mpeg был помечен как экспериментальный.
  • Loading branch information
v0lt committed Mar 15, 2024
1 parent ae6018c commit 74b5bdb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/filters/transform/MPCVideoDec/MPCVideoDec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2306,6 +2306,10 @@ HRESULT CMPCVideoDecFilter::InitDecoder(const CMediaType* pmt)
av_dict_set_int(&options, "x264_build", x264_build, 0);
}

if (m_CodecId == AV_CODEC_ID_VVC) {
m_pAVCtx->strict_std_compliance = FF_COMPLIANCE_EXPERIMENTAL;
}

avcodec_lock;
m_bInInit = TRUE;
const int ret = avcodec_open2(m_pAVCtx, m_pAVCodec, &options);
Expand Down

0 comments on commit 74b5bdb

Please sign in to comment.