muxer: prevent creating empty parts before switching segments #184
61.01% of diff hit (target 71.85%)
View this Pull Request on Codecov
61.01% of diff hit (target 71.85%)
Annotations
Check warning on line 377 in muxer.go
codecov / codecov/patch
muxer.go#L377
Added line #L377 was not covered by tests
Check warning on line 411 in muxer.go
codecov / codecov/patch
muxer.go#L410-L411
Added lines #L410 - L411 were not covered by tests
Check warning on line 26 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L25-L26
Added lines #L25 - L26 were not covered by tests
Check warning on line 90 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L90
Added line #L90 was not covered by tests
Check warning on line 99 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L96-L99
Added lines #L96 - L99 were not covered by tests
Check warning on line 112 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L112
Added line #L112 was not covered by tests
Check warning on line 115 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L115
Added line #L115 was not covered by tests
Check warning on line 144 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L144
Added line #L144 was not covered by tests
Check warning on line 148 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L148
Added line #L148 was not covered by tests
Check warning on line 152 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L152
Added line #L152 was not covered by tests
Check warning on line 156 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L156
Added line #L156 was not covered by tests
Check warning on line 160 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L160
Added line #L160 was not covered by tests
Check warning on line 164 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L164
Added line #L164 was not covered by tests
Check warning on line 172 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L169-L172
Added lines #L169 - L172 were not covered by tests
Check warning on line 186 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L186
Added line #L186 was not covered by tests
Check warning on line 189 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L189
Added line #L189 was not covered by tests
Check warning on line 220 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L220
Added line #L220 was not covered by tests
Check warning on line 226 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L226
Added line #L226 was not covered by tests
Check warning on line 232 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L232
Added line #L232 was not covered by tests
Check warning on line 241 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L238-L241
Added lines #L238 - L241 were not covered by tests
Check warning on line 270 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L270
Added line #L270 was not covered by tests
Check warning on line 273 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L273
Added line #L273 was not covered by tests
Check warning on line 312 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L312
Added line #L312 was not covered by tests
Check warning on line 405 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L405
Added line #L405 was not covered by tests
Check warning on line 408 in muxer_segmenter.go
codecov / codecov/patch
muxer_segmenter.go#L407-L408
Added lines #L407 - L408 were not covered by tests