base support for multiple timeline sections
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
TrackOutput::TrackOutput() :
|
||||
current_block_(this),
|
||||
track_type_(kTrackTypeNone),
|
||||
block_invalidate_cache_stack_(0),
|
||||
index_(-1)
|
||||
{
|
||||
@@ -40,6 +41,16 @@ TrackOutput::TrackOutput() :
|
||||
AddParameter(track_output_);
|
||||
}
|
||||
|
||||
void TrackOutput::set_track_type(const TrackType &track_type)
|
||||
{
|
||||
track_type_ = track_type;
|
||||
}
|
||||
|
||||
const TrackType& TrackOutput::track_type()
|
||||
{
|
||||
return track_type_;
|
||||
}
|
||||
|
||||
Block::Type TrackOutput::type()
|
||||
{
|
||||
return kEnd;
|
||||
|
||||
Reference in New Issue
Block a user