Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jedekar committed Mar 28, 2024
1 parent b277b87 commit a4f1ffe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packager/live_packager_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,8 @@ TEST_P(TimedTextParameterizedTest, VerifyTimedText) {
ASSERT_GT(out.SegmentSize(), 0);
if (live_config.format == LiveConfig::OutputFormat::VTTMP4 ||
live_config.format == LiveConfig::OutputFormat::TTMLMP4) {
SegmentBuffer seg(out.SegmentData(), out.SegmentSize());
SegmentBuffer seg;
seg.AppendData(out.SegmentData(), out.SegmentSize());
CheckSegment(live_config, seg, 1000, true);

if (i == 0) {
Expand Down

0 comments on commit a4f1ffe

Please sign in to comment.