Add option to trim screenshot created in Video condition

This commit is contained in:
WarmUpTill
2024-09-22 10:09:21 +02:00
committed by WarmUpTill
parent 55ab096e49
commit 0536e4a60b
5 changed files with 160 additions and 3 deletions

View File

@@ -1433,8 +1433,8 @@ void MacroConditionVideoEdit::ImageBrowseButtonClicked()
return;
}
auto source = OBSGetStrongRef(_entryData->_video.GetVideo());
auto screenshot = ScreenshotDialog::AskForScreenshot(source);
auto screenshot =
ScreenshotDialog::AskForScreenshot(_entryData->_video);
if (!screenshot) {
return;
}