in source/T31/T31VideoCapturer.c [102:119]
static int stopRecvPic(VideoCapturerHandle handle, uint8_t chnNum)
{
T31_HANDLE_NULL_CHECK(handle);
T31_HANDLE_GET(handle);
if (t31Handle->format != VID_FMT_RAW) {
if (IMP_Encoder_StopRecvPic(chnNum)) {
LOG("IMP_Encoder_StopRecvPic(%d) failed", chnNum);
return -EAGAIN;
}
LOG("IMP_Encoder_StopRecvPic(%d)", chnNum);
} else {
IMP_FrameSource_SetFrameDepth(t31Handle->channelNum, 0);
}
return 0;
}