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;
|
||||
}
|
||||
|
||||
|
||||
long Cues::GetCount() const
|
||||
{
|
||||
if (m_cue_points == NULL)
|
||||
return -1;
|
||||
|
||||
return m_count; //TODO: really ignore preload count?
|
||||
}
|
||||
|
||||
|
||||
void Cues::Init() const
|
||||
{
|
||||
if (m_cue_points)
|
||||
|
@ -519,6 +519,7 @@ public:
|
||||
const CuePoint::TrackPosition*) const;
|
||||
|
||||
bool LoadCuePoint() const;
|
||||
long GetCount() const;
|
||||
|
||||
private:
|
||||
void Init() const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user