Shaka Packager SDK
timestamp.h
1 // Copyright 2014 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_BASE_TIMESTAMP_H_
8 #define PACKAGER_MEDIA_BASE_TIMESTAMP_H_
9 
10 #include <cstdint>
11 #include <limits>
12 
13 namespace shaka {
14 namespace media {
15 
16 const int64_t kNoTimestamp = std::numeric_limits<int64_t>::min();
17 const int64_t kInfiniteDuration = std::numeric_limits<int64_t>::max();
18 
19 } // namespace media
20 } // namespace shaka
21 
22 #endif // PACKAGER_MEDIA_BASE_TIMESTAMP_H_
All the methods that are virtual are virtual for mocking.
Definition: crypto_flags.cc:66