MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / getCurrentFramePosition

Method getCurrentFramePosition

src/Qt/VideoPlaybackThread.cpp:36–42  ·  view source on GitHub ↗

Get the currently playing frame number (if any)

Source from the content-addressed store, hash-verified

34
35 // Get the currently playing frame number (if any)
36 int64_t VideoPlaybackThread::getCurrentFramePosition()
37 {
38 if (frame)
39 return frame->number;
40 else
41 return 0;
42 }
43
44 // Start the thread
45 void VideoPlaybackThread::run()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected