MCPcopy Create free account
hub / github.com/ddnet/ddnet / Con_StopVideo

Method Con_StopVideo

src/engine/client/client.cpp:3705–3715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3703}
3704
3705void CClient::Con_StopVideo(IConsole::IResult *pResult, void *pUserData)
3706{
3707 if(!IVideo::Current())
3708 {
3709 log_error("videorecorder", "Not recording.");
3710 return;
3711 }
3712
3713 IVideo::Current()->Stop();
3714 log_info("videorecorder", "Stopped recording.");
3715}
3716
3717#endif
3718

Callers

nothing calls this directly

Calls 1

StopMethod · 0.45

Tested by

no test coverage detected