Fix saving images with subtitles for frames other than the first
This commit is contained in:
parent
4e5b81973b
commit
5fcb287ed0
1 changed files with 2 additions and 1 deletions
|
@ -288,7 +288,8 @@ struct video_focus_seek final : public validator_video_loaded {
|
|||
};
|
||||
|
||||
wxImage get_image(agi::Context *c, bool raw) {
|
||||
return GetImage(*c->project->VideoProvider()->GetFrame(c->videoController->GetFrameN(), raw));
|
||||
auto frame = c->videoController->GetFrameN();
|
||||
return GetImage(*c->project->VideoProvider()->GetFrame(frame, c->project->Timecodes().TimeAtFrame(frame), raw));
|
||||
}
|
||||
|
||||
struct video_frame_copy final : public validator_video_loaded {
|
||||
|
|
Loading…
Reference in a new issue