Skip to content

Commit

Permalink
h26x: Fix bug when start fragment was not received, but subsequent on…
Browse files Browse the repository at this point in the history
…es were.
  • Loading branch information
tampsa committed Mar 27, 2024
1 parent 0e63183 commit b3b1be0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/formats/h26x.cc
Original file line number Diff line number Diff line change
Expand Up @@ -810,8 +810,10 @@ rtp_error_t uvgrtp::formats::h26x::packet_handler(void* args, int rce_flags, uin
}

if (next == c || s) {
continuous = true;
reconstructed_fragments.at(start).seqs.insert(c);
if (reconstructed_fragments.find(start) != reconstructed_fragments.end() ) {
continuous = true;
reconstructed_fragments.at(start).seqs.insert(c);
}
}
next = next_seq_num(c);
//UVG_LOG_DEBUG("Current fragment %u, next %u, start %d, end %d, continuous %d", c, next, s, e, continuous);
Expand Down

0 comments on commit b3b1be0

Please sign in to comment.