History

add log info if bIDR set to false when calling ForceIntraFrame()

huade committed 10 years ago

Commit 9f0f8b01 parent d76d62d1 file · +7 −7Browse files

Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all

Unified · Split

codec/encoder/plus/src/welsEncoderExt.cpp+7−7
@@ -473,15 +473,15 @@ int CWelsH264SVCEncoder::EncodeParameterSets (SFrameBSInfo* pBsInfo) { · 472 unmodified lines
473 * Force key frame473 * Force key frame
474 */474 */
475int CWelsH264SVCEncoder::ForceIntraFrame (bool bIDR, int iLayerId) {475int CWelsH264SVCEncoder::ForceIntraFrame (bool bIDR, int iLayerId) {
476 if (! (m_pEncContext && m_bInitialFlag)) {
477 return 1;
478 }
479
480 //WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
481 // "CWelsH264SVCEncoder::ForceIntraFrame(), bIDR= %d", bIDR);
482
483 if ( bIDR ) {476 if ( bIDR ) {
477 if (! (m_pEncContext && m_bInitialFlag)) {
478 return 1;
479 }
480
484 ForceCodingIDR(m_pEncContext, iLayerId);481 ForceCodingIDR(m_pEncContext, iLayerId);
482 } else {
483 WelsLog (&m_pWelsTrace->m_sLogCtx, WELS_LOG_INFO,
484 "CWelsH264SVCEncoder::ForceIntraFrame(),nothing to do as bIDR set to false");
485 }485 }
486 486
487 return 0;487 return 0;

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