Showing the changes to codec/decoder/plus/src/welsDecoderExt.cpp (1 of 2 files). Show all
Unified · Split
| @@ -373,7 +373,8 @@ long CWelsDecoder::GetOption (DECODER_OPTION eOptID, void* pOption) { · 372 unmodified lines | |||
| 373 | 373 | ||
| 374 | pDecoderStatistics->fAverageFrameSpeedInMs = (float) (m_pDecContext->dDecTime) / | 374 | pDecoderStatistics->fAverageFrameSpeedInMs = (float) (m_pDecContext->dDecTime) / |
| 375 | (m_pDecContext->sDecoderStatistics.uiDecodedFrameCount); | 375 | (m_pDecContext->sDecoderStatistics.uiDecodedFrameCount); |
| 376 | 376 | pDecoderStatistics->fActualAverageFrameSpeedInMs = (float) (m_pDecContext->dDecTime) / | |
| 377 | (m_pDecContext->sDecoderStatistics.uiDecodedFrameCount + m_pDecContext->sDecoderStatistics.uiFreezingIDRNum + m_pDecContext->sDecoderStatistics.uiFreezingNonIDRNum); | ||
| 377 | return cmResultSuccess; | 378 | return cmResultSuccess; |
| 378 | } | 379 | } |
| 379 | 380 | ||