1.连拍漏图更改
This commit is contained in:
parent
68eced2e23
commit
2bd7c83247
|
@ -1149,7 +1149,7 @@ static void PhotoFast_CaptureStop(void)
|
|||
PhotoFast_Sliceencode2_Stop();
|
||||
}
|
||||
|
||||
static void PhotoFast_CaptureStart(HD_VIDEO_FRAME *p_video_frame)
|
||||
static INT32 PhotoFast_CaptureStart(HD_VIDEO_FRAME *p_video_frame)
|
||||
{
|
||||
HD_PATH_ID vprc_path;
|
||||
|
||||
|
@ -1177,7 +1177,7 @@ static void PhotoFast_CaptureStart(HD_VIDEO_FRAME *p_video_frame)
|
|||
}
|
||||
|
||||
#if POWERON_FAST_SLICE_ENC_VER2 == ENABLE
|
||||
PhotoFast_Sliceencode2_Enq_Frame(p_video_frame);
|
||||
return PhotoFast_Sliceencode2_Enq_Frame(p_video_frame);
|
||||
#else
|
||||
PhotoFast_SliceEncode(vprc_path, p_video_frame);
|
||||
#endif
|
||||
|
@ -1719,8 +1719,14 @@ THREAD_RETTYPE PhotoFast_FlowPreviewThread(void *arg)
|
|||
sf_ir_led_set(0, 0, 0, 0);
|
||||
}
|
||||
#endif
|
||||
|
||||
PhotoFast_CaptureStart(&video_frame);
|
||||
|
||||
if(PhotoFast_CaptureStart(&video_frame) == E_OK){
|
||||
g_u32PrvCapCnt++;
|
||||
}
|
||||
else{
|
||||
DBG_WRN("enq frame failed...\n");
|
||||
}
|
||||
|
||||
if (g_u32PrvCapCnt >= max_cnt) {
|
||||
g_bPreViewPullFlag = FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user