Showing the changes to codec/encoder/plus/src/welsEncoderExt.cpp (1 of 4 files). Show all
Unified · Split
| @@ -938,6 +938,15 @@ int CWelsH264SVCEncoder::SetOption (ENCODER_OPTION eOptionId, void* pOption) { · 937 unmodified lines | |||
| 938 | } | 938 | } |
| 939 | } | 939 | } |
| 940 | break; | 940 | break; |
| 941 | case ENCODER_OPTION_DUMP_FILE:{ | ||
| 942 | #ifdef ENABLE_FRAME_DUMP | ||
| 943 | if(m_pEncContext->pSvcParam!=NULL){ | ||
| 944 | SDumpLayer*pDump = (static_cast<SDumpLayer *>(pOption)); | ||
| 945 | WelsStrncpy(m_pEncContext->pSvcParam->sDependencyLayers[pDump->iLayer].sRecFileName, pDump->pFileName, sizeof(m_pEncContext->pSvcParam->sDependencyLayers[pDump->iLayer].sRecFileName)) | ||
| 946 | } | ||
| 947 | #endif | ||
| 948 | } | ||
| 949 | break; | ||
| 941 | default: | 950 | default: |
| 942 | return cmInitParaError; | 951 | return cmInitParaError; |
| 943 | } | 952 | } |