0
0
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:
jp9000 2014-12-18 12:02:27 -08:00
parent 9f97b02c32
commit 1a95004fe8

View File

@ -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;
}