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

Method CloseVideo

src/project.cpp:343–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343void Project::CloseVideo() {
344 AnnounceVideoProviderModified(nullptr);
345 video_provider.reset();
346 SetPath(video_file, "?video", "", "");
347 video_has_subtitles = false;
348 context->ass->Properties.ar_mode = 0;
349 context->ass->Properties.ar_value = 0.0;
350 context->ass->Properties.video_position = 0;
351}
352
353void Project::DoLoadTimecodes(agi::fs::path const& path) {
354 timecodes = agi::vfr::Framerate(path);

Callers 3

RenderMethod · 0.80
~FrameMainMethod · 0.80
operator()Function · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected