History

fix the condition of scene change flag and comments

volvet committed 12 years ago

Commit fc5c4881 parent c8761c02 files · +2 −2Browse files

Showing the changes to codec/encoder/core/src/wels_preprocess.cpp (1 of 2 files). Show all

Unified · Split

codec/encoder/core/src/wels_preprocess.cpp+1−1
@@ -627,7 +627,7 @@ bool CWelsPreProcess::DetectSceneChange (SPicture* pCurPicture, SPicture* pRefPi · 626 unmodified lines
627 int32_t iRet = m_pInterfaceVp->Process (iMethodIdx, &sSrcPixMap, &sRefPixMap);627 int32_t iRet = m_pInterfaceVp->Process (iMethodIdx, &sSrcPixMap, &sRefPixMap);
628 if (iRet == 0) {628 if (iRet == 0) {
629 m_pInterfaceVp->Get (iMethodIdx, (void*)&sSceneChangeDetectResult);629 m_pInterfaceVp->Get (iMethodIdx, (void*)&sSceneChangeDetectResult);
630 bSceneChangeFlag = (sSceneChangeDetectResult.eSceneChangeIdc != LARGE_CHANGED_SCENE) ? true : false;630 bSceneChangeFlag = (sSceneChangeDetectResult.eSceneChangeIdc == LARGE_CHANGED_SCENE) ? true : false;
631 }631 }
632 632
633 return bSceneChangeFlag;633 return bSceneChangeFlag;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t