Shaka Packager SDK
packager
mpd
base
segment_info.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
#ifndef MPD_BASE_SEGMENT_INFO_H_
8
#define MPD_BASE_SEGMENT_INFO_H_
9
10
namespace
shaka
{
14
struct
SegmentInfo
{
15
int64_t start_time;
16
int64_t duration;
17
// This is the number of times same duration segments are repeated not
18
// inclusive. In other words if this is the only one segment that starts at
19
// |start_time| and has |duration| but none others have |start_time| * N and
20
// |duration|, then this should be set to 0. The semantics is the same as S@r
21
// in the DASH MPD spec.
22
int
repeat;
23
};
24
}
// namespace shaka
25
26
#endif
// MPD_BASE_SEGMENT_INFO_H_
shaka
All the methods that are virtual are virtual for mocking.
Definition:
gflags_hex_bytes.cc:11
shaka::SegmentInfo
Definition:
segment_info.h:14
Generated on Fri Apr 9 2021 21:00:12 for Shaka Packager SDK by
1.9.1