Skip to content

Commit

Permalink
Merge pull request #168 from Comcast/scte35UnitTests-1
Browse files Browse the repository at this point in the history
Scte35 2020 unit tests for 0x20,0x21, 0x22,0x23, 0x30, 0x31, 0x44 and 0x45
  • Loading branch information
shanbhagneha authored May 18, 2022
2 parents 719c1c4 + 0eeaf89 commit cf4c2bd
Show file tree
Hide file tree
Showing 2 changed files with 669 additions and 7 deletions.
2 changes: 0 additions & 2 deletions scte35/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,6 @@ func (s *state) ProcessDescriptor(desc SegmentationDescriptor) ([]SegmentationDe
SegDescProgramStartInProgress:
s.open = append(s.open, desc)
// in signals
// SegDescProgramEnd treated individually since it is expected to normally
// close program resumption AND program start
case SegDescProgramEnd:
if len(closed) == 0 {
err = gots.ErrSCTE35MissingOut
Expand Down
Loading

0 comments on commit cf4c2bd

Please sign in to comment.