DASH Media Packaging SDK
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
media
formats
mp2t
continuity_counter.cc
1
// Copyright 2016 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
#include "packager/media/formats/mp2t/continuity_counter.h"
8
9
namespace
shaka {
10
namespace
media {
11
namespace
mp2t {
12
13
ContinuityCounter::ContinuityCounter() {}
14
ContinuityCounter::~ContinuityCounter() {}
15
16
int
ContinuityCounter::GetNext
() {
17
int
ret = counter_;
18
++counter_;
19
counter_ %= 16;
20
return
ret;
21
}
22
23
}
// namespace mp2t
24
}
// namespace media
25
}
// namespace shaka
shaka::media::mp2t::ContinuityCounter::GetNext
int GetNext()
Definition:
continuity_counter.cc:16
Generated on Thu Mar 16 2017 22:29:35 for DASH Media Packaging SDK by
1.8.6