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