<div dir="ltr">I know, but I've old hardware that sets the x-plgroup in the media-level attributes (apparently this hardware uses miniSAPServer 0.3.2) and this case was handled in older versions of vlc.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-11-17 15:08 GMT+01:00 Rémi Denis-Courmont <span dir="ltr"><<a href="mailto:remi@remlab.net" target="_blank">remi@remlab.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le 2014-11-17 17:00, Santiago Gimeno a écrit :<span class=""><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
diff --git a/modules/services_discovery/<u></u>sap.c<br>
b/modules/services_discovery/<u></u>sap.c<br>
index 5477924..d27f991 100644<br>
--- a/modules/services_discovery/<u></u>sap.c<br>
+++ b/modules/services_discovery/<u></u>sap.c<br>
@@ -908,8 +908,13 @@ sap_announce_t *CreateAnnounce(<br>
services_discovery_t *p_sd, uint32_t *i_source,<br>
else<br>
{<br>
/* backward compatibility with VLC 0.7.3-2.0.0 senders */<br>
- psz_value = GetAttribute(p_sap->p_sdp->pp_<u></u>attributes,<br>
- p_sap->p_sdp->i_attributes, "x-plgroup");<br>
+ if (p_sap->p_sdp->mediac >= 1) {<br>
+ psz_value = FindAttribute(p_sap->p_sdp, 0, "x-plgroup");<br>
</blockquote>
<br></span>
This is not making any sense. How can you put a single media in a playlist and not the whole session?!<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Rémi Denis-Courmont<br>
______________________________<u></u>_________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" target="_blank">https://mailman.videolan.org/<u></u>listinfo/vlc-devel</a><br>
</font></span></blockquote></div><br></div>