diff --git a/packager/app/test/packager_test.py b/packager/app/test/packager_test.py index 4d6b5fe4a5..088e979131 100755 --- a/packager/app/test/packager_test.py +++ b/packager/app/test/packager_test.py @@ -660,7 +660,7 @@ class PackagerFunctionalTest(PackagerAppTest): segmented=True, hls=True, test_files=['bear-640x360.ts']), - self._GetFlags(output_hls=True)) + self._GetFlags(output_hls=True, output_dash=True)) self._CheckTestResults('avc-aac-ts') def testAvcAacTsLanguage(self): diff --git a/packager/app/test/testdata/avc-aac-ts/output.mpd b/packager/app/test/testdata/avc-aac-ts/output.mpd new file mode 100644 index 0000000000..fbaca67d46 --- /dev/null +++ b/packager/app/test/testdata/avc-aac-ts/output.mpd @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/packager/media/formats/mp2t/ts_muxer.cc b/packager/media/formats/mp2t/ts_muxer.cc index 30d5f0ccf8..bd005afa04 100644 --- a/packager/media/formats/mp2t/ts_muxer.cc +++ b/packager/media/formats/mp2t/ts_muxer.cc @@ -50,7 +50,7 @@ void TsMuxer::FireOnMediaStartEvent() { if (!muxer_listener()) return; muxer_listener()->OnMediaStart(options(), *streams().front(), kTsTimescale, - MuxerListener::kContainerWebM); + MuxerListener::kContainerMpeg2ts); } void TsMuxer::FireOnMediaEndEvent() {