obs-outputs: Only log packets remaining if above 0
This commit is contained in:
parent
226337a6ca
commit
d4df6c191f
@ -105,7 +105,8 @@ static inline void free_packets(struct rtmp_stream *stream)
|
||||
pthread_mutex_lock(&stream->packets_mutex);
|
||||
|
||||
num_packets = num_buffered_packets(stream);
|
||||
info("Freeing %d remaining packets", (int)num_packets);
|
||||
if (num_packets)
|
||||
info("Freeing %d remaining packets", (int)num_packets);
|
||||
|
||||
while (stream->packets.size) {
|
||||
struct encoder_packet packet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user