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)
1074
1074
mVCState = VCS_PreInit;
1075
1075
mState = S_Init;
1076
1076
} else {
1077
-
1078
1077
if (ImGui::Button (" Flush Streams ##VCS" )) {
1079
1078
mVCU .FlushStreams ();
1080
1079
mVCU .ClearCapturedImageList ();
@@ -1153,8 +1152,9 @@ MLDX12App::ShowVideoCaptureWindow(void)
1153
1152
1154
1153
ImGui::OpenPopup (" WriteFlushPopup" );
1155
1154
}
1156
-
1155
+
1157
1156
UpdateCaptureImg ();
1157
+
1158
1158
break ;
1159
1159
case VCS_WaitRecordEnd:
1160
1160
{
@@ -1456,6 +1456,17 @@ MLDX12App::ImGuiCommands(void) {
1456
1456
ShowVideoCaptureWindow ();
1457
1457
ShowImageFileRWWindow ();
1458
1458
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
+ }
1459
1470
}
1460
1471
1461
1472
ImGui::Render ();
You can’t perform that action at this time.
0 commit comments