1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-15 04:42:04 +00:00

Merge branch 'develop' into merge/develop

This commit is contained in:
winlin 2021-10-12 15:08:49 +08:00
commit 772e6fd98a

View file

@ -580,6 +580,7 @@ SrsDvrPlan::SrsDvrPlan()
SrsDvrPlan::~SrsDvrPlan()
{
srs_freep(segment);
srs_freep(req);
}
srs_error_t SrsDvrPlan::initialize(SrsOriginHub* h, SrsDvrSegmenter* s, SrsRequest* r)
@ -587,7 +588,7 @@ srs_error_t SrsDvrPlan::initialize(SrsOriginHub* h, SrsDvrSegmenter* s, SrsReque
srs_error_t err = srs_success;
hub = h;
req = r;
req = r->copy();
segment = s;
if ((err = segment->initialize(this, r)) != srs_success) {