Skip to content

Commit

Permalink
MPCVideoDec - в функции FillAVCodecProps() убрана (код закомментирова…
Browse files Browse the repository at this point in the history
…н) обработка VVC кодека, т.к. это было сделано для встроенного в ffmpeg декодера.
  • Loading branch information
Aleksoid1978 committed Jul 8, 2024
1 parent 25f783e commit 52cfa14
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/filters/transform/MPCVideoDec/ffmpegContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ extern "C" {
#include <ExtLib/ffmpeg/libavcodec/h264dec.h>
#include <ExtLib/ffmpeg/libavcodec/ffv1.h>
#undef class
#include <ExtLib/ffmpeg/libavcodec/vvc/dec.h>
//#include <ExtLib/ffmpeg/libavcodec/vvc/dec.h>
}
#pragma warning(pop)

Expand Down Expand Up @@ -318,6 +318,7 @@ void FillAVCodecProps(struct AVCodecContext* pAVCtx, BITMAPINFOHEADER* pBMI)
case AV_CODEC_ID_DXTORY:
pAVCtx->pix_fmt = AV_PIX_FMT_RGB24; // and other RGB formats, but it is not important here
break;
/*
case AV_CODEC_ID_VVC:
{
auto s = reinterpret_cast<VVCContext*>(pAVCtx->priv_data);
Expand Down Expand Up @@ -369,6 +370,7 @@ void FillAVCodecProps(struct AVCodecContext* pAVCtx, BITMAPINFOHEADER* pBMI)
}
}
break;
*/
}

if (pAVCtx->pix_fmt == AV_PIX_FMT_NONE) {
Expand Down

0 comments on commit 52cfa14

Please sign in to comment.