mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
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:
parent
9f97b02c32
commit
1a95004fe8
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user