14 segment() : time(0), tid(0), bytepos(0), keyframe(0){}
15 bool operator < (
const segment & rhs)
const {
16 return time < rhs.
time || (time == rhs.
time && tid < rhs.
tid);
19 unsigned long long int time;
20 unsigned long long int tid;
31 if (time == rhs.
time){
40 long long unsigned int time;
75 position seekFirstData(
long long unsigned int tid);
76 void getNext(
bool smart =
true);
77 void seek(
int seekTime);
78 void trackSelect(std::string trackSpec);
80 void parseBeginOfStream(
OGG::Page & bosPage);
83 std::map<long unsigned int, OGG::oggTrack>
oggTracks;
85 long long unsigned int calcGranuleTime(
unsigned long tid,
long long unsigned int granule);
86 long long unsigned int calcSegmentDuration(
unsigned long tid , std::string &
segment);
oggCodec
Definition: ogg.h:25
unsigned int len
Definition: input_ogg.h:9
Definition: input_ogg.h:7
char * segData
Definition: input_ogg.h:8
A JSON::Value is either a string or an integer, but may also be an object, array or null...
Definition: json.h:21
Recording to file.
Definition: input.cpp:13
Definition: input_ogg.h:12
long long unsigned int bytepos
Definition: input_ogg.h:41
Definition: input_ogg.h:26
long long unsigned int segmentNo
Definition: input_ogg.h:42
unsigned long long int time
Definition: input_ogg.h:19
long long unsigned int time
Definition: input_ogg.h:40
Deals with parsing configuration from commandline options.
Definition: config.h:18
long unsigned int trackID
Definition: input_ogg.h:39
unsigned long long int tid
Definition: input_ogg.h:20
bool keyframe
Definition: input_ogg.h:22
std::vector< std::string > parts
Definition: input_ogg.h:18
long long unsigned int bytepos
Definition: input_ogg.h:21
segment()
Definition: input_ogg.h:14