diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-01 17:51:47 +0300 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-01 17:51:47 +0300 |
commit | 59701f6bdf9bcdca6f921c712e2da7590ad9fff1 (patch) | |
tree | 9183cd214ec1591878c494657567580fb0dd2997 /decoder | |
parent | 238fa4a2de68c8c7c60a37028046566821b2b49a (diff) |
Add a bit more logging for MVC problems
Diffstat (limited to 'decoder')
-rw-r--r-- | decoder/LAVVideo/decoders/msdk_mvc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/decoder/LAVVideo/decoders/msdk_mvc.cpp b/decoder/LAVVideo/decoders/msdk_mvc.cpp index d7dae180..d81849f9 100644 --- a/decoder/LAVVideo/decoders/msdk_mvc.cpp +++ b/decoder/LAVVideo/decoders/msdk_mvc.cpp @@ -430,6 +430,7 @@ STDMETHODIMP CDecMSDKMVC::Decode(const BYTE *buffer, int buflen, REFERENCE_TIME sts = MFXVideoDECODE_DecodeFrameAsync(m_mfxSession, bFlush ? nullptr : &bs, &pInputBuffer->surface, &outsurf, &sync); if (sts == MFX_ERR_INCOMPATIBLE_VIDEO_PARAM) { + DbgLog((LOG_TRACE, 10, L"CDevMSDKMVC::Decode(): Incompatible video parameters detected, flushing decoder")); bsBuffer.Clear(); bFlush = TRUE; m_bDecodeReady = FALSE; |