modules: improve debug in RTP

This commit is contained in:
Wim Taymans 2026-03-17 13:53:23 +01:00
parent 8db1153519
commit f4587ea434
3 changed files with 3 additions and 3 deletions

View file

@ -426,7 +426,7 @@ static int stream_stop(struct impl *impl)
* because a stop involves closing the connection. If the timer is still
* running, it needs an open connection for sending out remaining packets. */
if (!timer_running) {
int res;
int res = 0;
pw_log_info("closing connection as part of stopping the stream");
rtp_stream_emit_close_connection(impl, &res);
if (res > 0) {