1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Cover mp4 header.

This commit is contained in:
winlin 2019-05-14 08:17:39 +08:00
parent 1605000817
commit 13c4498e11

View file

@ -3797,6 +3797,21 @@ VOID TEST(KernelTSTest, CoverTransmuxer)
}
}
VOID TEST(KernelMP4Test, CoverMP4All)
{
if (true) {
SrsMp4ElstEntry e;
EXPECT_EQ(0, e.media_time);
EXPECT_EQ(0, e.segment_duration);
}
if (true) {
SrsMp4CttsEntry e;
EXPECT_EQ(0, e.sample_count);
EXPECT_EQ(0, e.sample_offset);
}
}
VOID TEST(KernelMP4Test, CoverMP4Codec)
{
SrsMp4Encoder enc;