Shaka Packager SDK
key_frame_info.h
1 // Copyright 2018 Google LLC. All rights reserved.
2 //
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file or at
5 // https://developers.google.com/open-source/licenses/bsd
6 
7 #ifndef PACKAGER_MEDIA_FORMATS_MP4_KEY_FRAME_INFO_H_
8 #define PACKAGER_MEDIA_FORMATS_MP4_KEY_FRAME_INFO_H_
9 
10 #include <cstdint>
11 
12 namespace shaka {
13 namespace media {
14 namespace mp4 {
15 
17 struct KeyFrameInfo {
18  int64_t timestamp;
19  uint64_t start_byte_offset;
20  uint64_t size;
21 };
22 
23 } // namespace mp4
24 } // namespace media
25 } // namespace shaka
26 
27 #endif // PACKAGER_MEDIA_FORMATS_MP4_KEY_FRAME_INFO_H_
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66
Tracks key frame information.