File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -1074,7 +1074,6 @@ MLDX12App::ShowVideoCaptureWindow(void)
10741074 mVCState = VCS_PreInit;
10751075 mState = S_Init;
10761076 } else {
1077-
10781077 if (ImGui::Button (" Flush Streams ##VCS" )) {
10791078 mVCU .FlushStreams ();
10801079 mVCU .ClearCapturedImageList ();
@@ -1153,8 +1152,9 @@ MLDX12App::ShowVideoCaptureWindow(void)
11531152
11541153 ImGui::OpenPopup (" WriteFlushPopup" );
11551154 }
1156-
1155+
11571156 UpdateCaptureImg ();
1157+
11581158 break ;
11591159 case VCS_WaitRecordEnd:
11601160 {
@@ -1456,6 +1456,17 @@ MLDX12App::ImGuiCommands(void) {
14561456 ShowVideoCaptureWindow ();
14571457 ShowImageFileRWWindow ();
14581458 ShowSettingsWindow ();
1459+ } else {
1460+
1461+ // キャプチャー画像を更新。
1462+ switch (mVCState ) {
1463+ case VCS_CapturePreview:
1464+ case VCS_Recording:
1465+ UpdateCaptureImg ();
1466+ break ;
1467+ default :
1468+ break ;
1469+ }
14591470 }
14601471
14611472 ImGui::Render ();
You can’t perform that action at this time.
0 commit comments