Diff between 9590cf12b23207af2a2cc212d808339d7ac85963 and 48c33d291d921be2fb2a7958528e0d16a176a913

Changed Files

File Additions Deletions Status
client/player.c +6 -2 modified

Full Patch

diff --git a/client/player.c b/client/player.c
index 0aab0fc..76fee0a 100644
--- a/client/player.c
+++ b/client/player.c
@@ -2096,8 +2096,12 @@ static DBusMessage *endpoint_select_properties_reply(struct endpoint *ep,
 		/* Adjust the SDU size based on the number of
 		 * locations/channels that is being requested.
 		 */
-		if (channels > 1)
-			qos->sdu *= channels;
+		if (channels > 1) {
+			if (ep->broadcast)
+				cfg->qos.bcast.io_qos.sdu *= channels;
+			else
+				cfg->qos.ucast.io_qos.sdu *= channels;
+		}
 	}
 
 	dbus_message_iter_init_append(reply, &iter);