Fixed HTTP Dynamic (F4V) processing.

This commit is contained in:
Thulinma 2012-05-22 15:11:14 +02:00
parent 4d9db0d6ee
commit ee9aacc49e
2 changed files with 2 additions and 3 deletions

View file

@ -187,7 +187,7 @@ void ABST::SetVersion( bool NewVersion) {
} }
void ABST::SetReserved( ) { void ABST::SetReserved( ) {
Container->SetPayload((uint32_t)4,Box::uint32_to_uint8(0)); SetPayload((uint32_t)4,Box::uint32_to_uint8(0));
} }
void ABST::WriteContent( ) { void ABST::WriteContent( ) {
@ -393,7 +393,7 @@ std::string GenerateLiveBootstrap( uint32_t CurMediaTime ) {
abst.AddServerEntry(""); abst.AddServerEntry("");
abst.AddQualityEntry(""); abst.AddQualityEntry("");
abst.WriteContent(); abst.WriteContent();
std::string Result; std::string Result;
Result.append((char*)abst.GetBoxedData(), (int)abst.GetBoxedDataSize()); Result.append((char*)abst.GetBoxedData(), (int)abst.GetBoxedDataSize());
return Result; return Result;

View file

@ -75,7 +75,6 @@ namespace MP4{
std::vector<abst_qualityentry> Qualities; std::vector<abst_qualityentry> Qualities;
std::vector<Box *> SegmentRunTables; std::vector<Box *> SegmentRunTables;
std::vector<Box *> FragmentRunTables; std::vector<Box *> FragmentRunTables;
Box * Container;
};//ABST Box };//ABST Box
struct afrt_fragmentrunentry { struct afrt_fragmentrunentry {