MCPcopy Create free account
hub / github.com/FFMS/ffms2 / AddAudioFrame

Method AddAudioFrame

src/core/track.cpp:138–143  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138void FFMS_Track::AddAudioFrame(int64_t PTS, int64_t DTS, int64_t SampleStart, uint32_t SampleCount, bool KeyFrame, int64_t FilePos, bool MarkedHidden) {
139 if (SampleCount > 0) {
140 Data->Frames.push_back({ PTS, 0, FilePos, SampleStart, SampleCount,
141 0, 0, 0, 0, KeyFrame, MarkedHidden, false, DTS });
142 }
143}
144
145void FFMS_Track::WriteTimecodes(const char *TimecodeFile) const {
146 frame_vec &Frames = Data->Frames;

Callers 1

DoIndexingMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected