sd: avahi: fix invalid release of renderer items
(cherry picked from commit
49a917ddc37273522bbf44016d4b856edf873086)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Gbp-Pq: Name 0007-sd-avahi-fix-invalid-release-of-renderer-items.patch
avahi: Add support for chromecast renderer discovery
Allow discovery of chromecast devices with the Avahi DNS-SD resolver.
Tested with a Chromecast version 2 (Audio/Video).
See: #19921
https://forum.videolan.org/viewtopic.php?t=146211
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit
070060d1815eb2bd00d5eff9f13d153c8e4ff00e)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Gbp-Pq: Name 0006-avahi-Add-support-for-chromecast-renderer-discovery.patch
avahi: Prepare code for support of renderer discovery
Instead of passing the services_discovery_t as userdata for the callbacks,
use a struct discovery_sys_t which is common for both the input and renderer
private data structures.
The discovery_sys_t is embedded into the service type specific private
member structs, i.e. struct services_discovery_sys_t (done here) and
struct vlc_renderer_discovery_sys (next patch).
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit
da019696fbc76b7afea69b33f2c537c85a350a59)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Gbp-Pq: Name 0005-avahi-Prepare-code-for-support-of-renderer-discovery.patch
avahi: Fix leaking AvahiServiceResolver in the error paths
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit
6d4afd268bbbf5c99609bd777d740a624cf7d705)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Gbp-Pq: Name 0004-avahi-Fix-leaking-AvahiServiceResolver-in-the-error-.patch
avahi: Explicitly handle AVAHI_BROWSER_REMOVE events
name is only set for AVAHI_BROWSER_NEW and AVAHI_BROWSER_REMOVE. Explicitly
check for REMOVE instead of deducing the event type from the name being
set.
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
(cherry picked from commit
aaba1daa2683a403ab4adefffa1abd59f9339d2b)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
Gbp-Pq: Name 0003-avahi-Explicitly-handle-AVAHI_BROWSER_REMOVE-events.patch
Revert "configure: Require libmodplug >= 0.8.9"
This reverts commit
48f014768dc22ecad23d0e9f53c38805a3aff832.
Gbp-Pq: Name 0002-Revert-configure-Require-libmodplug-0.8.9.patch