MCPcopy Create free account
hub / github.com/MediaArea/MediaInfoLib / GetFrameRate

Method GetFrameRate

Source/MediaInfo/TimeCode.h:374–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372 uint32_t GetFramesMax() const { return FramesMax_; }
373 void SetFramesMax(uint32_t Value = 0) { FramesMax_ = Value; }
374 float GetFrameRate() const { return (float)(((uint64_t)GetFramesMax() + 1) / (Is1001fps() ? 1.001 : 1.000)); }
375
376 TimeCode& SetDropFrame(bool Value = true) { Flags_.DropFrame(Value); return *this; }
377 bool IsDropFrame() const { return Flags_.IsDropFrame(); }

Callers 4

Streams_FinishMethod · 0.80
Streams_FinishMethod · 0.80
Streams_AcceptMethod · 0.80
Streams_FillMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected