Skip to content

Commit

Permalink
hls muxer: fix regression introduced in b5dd658
Browse files Browse the repository at this point in the history
  • Loading branch information
aler9 committed Oct 20, 2022
1 parent fad3474 commit 847ca6c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/hls/muxer_variant_fmp4_segmenter.go
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ func (m *muxerVariantFMP4Segmenter) writeH264Entry(now time.Time, sample *fmp4.V
if err != nil {
return err
}
sample.NALUs = nil

m.startDTS = sample.DTS
sample.DTS = 0
Expand All @@ -181,7 +180,6 @@ func (m *muxerVariantFMP4Segmenter) writeH264Entry(now time.Time, sample *fmp4.V
if err != nil {
return err
}
sample.NALUs = nil

sample.DTS -= m.startDTS
sample.PTS -= m.startDTS
Expand Down

0 comments on commit 847ca6c

Please sign in to comment.