Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 1 file). Show all
Unified · Split
| @@ -548,7 +548,7 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 547 unmodified lines | |||
| 548 | return cmInitParaError; | 548 | return cmInitParaError; |
| 549 | } | 549 | } |
| 550 | 550 | ||
| 551 | if (NULL == m_pEncContext || false == m_bInitialFlag) { | 551 | if ((NULL == m_pEncContext || false == m_bInitialFlag) && eOptionId != ENCODER_OPTION_TRACE_LEVEL) { |
| 552 | return cmInitExpected; | 552 | return cmInitExpected; |
| 553 | } | 553 | } |
| 554 | 554 | ||