| 136 | } |
| 137 | |
| 138 | void 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 | |
| 145 | void FFMS_Track::WriteTimecodes(const char *TimecodeFile) const { |
| 146 | frame_vec &Frames = Data->Frames; |