hello
when i using the pluging(mfxplugin64_screen_capture.dll) to capture the desktop
mfxVideoParam par;
.......
par.mfx.FrameInfo.FourCC = params.fourcc;
par.mfx.FrameInfo.ChromaFormat = params.chroma_format;
par.mfx.CodecId = MFX_CODEC_CAPTURE;
//par.NumExtParam = 1;
// par.ExtParam = &mfxextbuf;
..........
everything works well!
when:
mfxVideoParam par;
.......
par.mfx.FrameInfo.FourCC = params.fourcc;
par.mfx.FrameInfo.ChromaFormat = params.chroma_format;
par.mfx.CodecId = MFX_CODEC_CAPTURE;
par.NumExtParam = 1;
par.ExtParam = &mfxextbuf;
..........
mfxSts = MFXVideoDECODE_Query(mfxSes, &par, &par);
always return MFX_ERR_UNSUPPORTED.
what's the problem with this??how can i to do?