libwebm: added Cues::GetCount
Change-Id: I5b2bca8fd7229318783d9b97c50a4e20ce2ba640
This commit is contained in:
parent
b0465e167e
commit
cf36dc2848
@ -2445,6 +2445,16 @@ Cues::~Cues()
|
|||||||
delete[] m_cue_points;
|
delete[] m_cue_points;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
long Cues::GetCount() const
|
||||||
|
{
|
||||||
|
if (m_cue_points == NULL)
|
||||||
|
return -1;
|
||||||
|
|
||||||
|
return m_count; //TODO: really ignore preload count?
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void Cues::Init() const
|
void Cues::Init() const
|
||||||
{
|
{
|
||||||
if (m_cue_points)
|
if (m_cue_points)
|
||||||
|
@ -519,6 +519,7 @@ public:
|
|||||||
const CuePoint::TrackPosition*) const;
|
const CuePoint::TrackPosition*) const;
|
||||||
|
|
||||||
bool LoadCuePoint() const;
|
bool LoadCuePoint() const;
|
||||||
|
long GetCount() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void Init() const;
|
void Init() const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user