diff --git a/src/outputs/airplay.c b/src/outputs/airplay.c index c9ac7e22..bec0a981 100644 --- a/src/outputs/airplay.c +++ b/src/outputs/airplay.c @@ -1978,8 +1978,8 @@ packets_resend(struct airplay_session *rs, uint16_t seqnum, int len) rtp_session = rs->master_session->rtp_session; - DPRINTF(E_DBG, L_AIRPLAY, "Got retransmit request from '%s': seqnum %" PRIu16 " (len %d), last RTP session seqnum %" PRIu16 " (len %zu)\n", - rs->devname, seqnum, len, rtp_session->seqnum - 1, rtp_session->pktbuf_len); + DPRINTF(E_DBG, L_AIRPLAY, "Got retransmit request from '%s': seqnum %" PRIu16 " (len %d), next RTP session seqnum %" PRIu16 " (len %zu)\n", + rs->devname, seqnum, len, rtp_session->seqnum, rtp_session->pktbuf_len); // Note that seqnum may wrap around, so we don't use it for counting for (i = 0, s = seqnum; i < len; i++, s++) @@ -1992,8 +1992,8 @@ packets_resend(struct airplay_session *rs, uint16_t seqnum, int len) } if (pkt_missing) - DPRINTF(E_WARN, L_AIRPLAY, "Device '%s' retransmit request for seqnum %" PRIu16 " (len %d) is outside buffer range (last seqnum %" PRIu16 ", len %zu)\n", - rs->devname, seqnum, len, rtp_session->seqnum - 1, rtp_session->pktbuf_len); + DPRINTF(E_WARN, L_AIRPLAY, "Device '%s' retransmit request for seqnum %" PRIu16 " (len %d) is outside buffer range (next seqnum %" PRIu16 ", len %zu)\n", + rs->devname, seqnum, len, rtp_session->seqnum, rtp_session->pktbuf_len); } static int