libobs: Fix bug when SEI not present
If an encoder did not possess any SEI data, it would never send data at all because the sent_first_packet wasn't set despite the first packet being sent.
This commit is contained in:
@@ -539,6 +539,7 @@ static void send_first_video_packet(struct obs_encoder *encoder,
|
||||
|
||||
if (!get_sei(encoder, &sei, &size)) {
|
||||
cb->new_packet(cb->param, packet);
|
||||
cb->sent_first_packet = true;
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user