From 627062cab895bec447f6fc27efdcf589b8c842c1 Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Tue, 8 Mar 2011 19:32:54 +0100 Subject: [PATCH] Add wants_metadata flag to struct raop_session --- src/raop.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/raop.c b/src/raop.c index 29ca3ad4..1864b4f8 100644 --- a/src/raop.c +++ b/src/raop.c @@ -99,6 +99,7 @@ struct raop_session unsigned req_has_auth:1; unsigned encrypt:1; unsigned auth_quirk_itunes:1; + unsigned wants_metadata:1; int reqs_in_flight; int cseq; @@ -1626,16 +1627,19 @@ raop_session_make(struct raop_device *rd, int family, raop_status_cb cb) case RAOP_DEV_APEX_80211G: rs->encrypt = 1; rs->auth_quirk_itunes = 1; + rs->wants_metadata = 0; break; case RAOP_DEV_APEX_80211N: rs->encrypt = 1; rs->auth_quirk_itunes = 0; + rs->wants_metadata = 0; break; case RAOP_DEV_APPLETV: rs->encrypt = 0; rs->auth_quirk_itunes = 0; + rs->wants_metadata = 1; break; }