mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
obs-outputs: Call free_packets in init_connect
This may end up being a bit redundant, but it's just to ensure that the packet buffer is free before connecting.
This commit is contained in:
parent
d4df6c191f
commit
07254d0390
@ -641,6 +641,8 @@ static bool init_connect(struct rtmp_stream *stream)
|
||||
if (stopping(stream))
|
||||
pthread_join(stream->stop_thread, NULL);
|
||||
|
||||
free_packets(stream);
|
||||
|
||||
service = obs_output_get_service(stream->output);
|
||||
if (!service)
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user