Added sample_description_index to 'tfhd' box for DASH-IF IOP compatiblity.
Change-Id: I1bb24f3b3f258625ce6958d6510aab49bedbf719
This commit is contained in:
parent
b56f5a0edf
commit
581cb1fc4d
|
@ -77,7 +77,9 @@ Status Fragmenter::InitializeFragment(int64_t first_sample_dts) {
|
|||
traf_->runs.clear();
|
||||
traf_->runs.resize(1);
|
||||
traf_->runs[0].flags = TrackFragmentRun::kDataOffsetPresentMask;
|
||||
traf_->header.flags = TrackFragmentHeader::kDefaultBaseIsMoofMask;
|
||||
traf_->header.sample_description_index = 1; // 1-based.
|
||||
traf_->header.flags = TrackFragmentHeader::kDefaultBaseIsMoofMask |
|
||||
TrackFragmentHeader::kSampleDescriptionIndexPresentMask;
|
||||
fragment_duration_ = 0;
|
||||
earliest_presentation_time_ = kInvalidTime;
|
||||
first_sap_time_ = kInvalidTime;
|
||||
|
|
Loading…
Reference in New Issue