mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-28 00:39:19 -04:00
obs-outputs: Only log packets remaining if above 0
This commit is contained in:
1 parent
226337a6ca
commit
d4df6c191f
1 file changed
+2
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user