MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / PrevFrame

Method PrevFrame

src/video_controller.cpp:125–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123}
124
125void VideoController::PrevFrame() {
126 if (!provider || IsPlaying() || frame_n == 0)
127 return;
128
129 JumpToFrame(frame_n - 1);
130 if (playAudioOnStep->GetBool())
131 context->audioController->PlayRange(TimeRange(TimeAtFrame(frame_n), TimeAtFrame(frame_n + 1)));
132}
133
134void VideoController::Play() {
135 if (IsPlaying()) {

Callers 1

video_frame_prevClass · 0.80

Calls 2

PlayRangeMethod · 0.80
TimeRangeClass · 0.70

Tested by

no test coverage detected