From c1f91083c91bebc36df197de75b4ee0eebd6bd4b Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Mon, 16 Aug 2010 23:25:26 +0300 Subject: [PATCH] build,media-export: Adapt to gupnp-dlna 0.3 API --- configure.ac | 4 ++-- src/plugins/media-export/rygel-media-export-metadata-extractor.vala | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 83ea895..5fe236d 100644 --- a/configure.ac +++ b/configure.ac @@ -23,8 +23,8 @@ AC_FUNC_MMAP VALA_REQUIRED=0.9.5 GUPNP_REQUIRED=0.13.4 GUPNP_AV_REQUIRED=0.5.9 -GUPNP_DLNA_REQUIRED=0.2.1 -GUPNP_VALA_REQUIRED=0.6.10 +GUPNP_DLNA_REQUIRED=0.3.0 +GUPNP_VALA_REQUIRED=0.6.11 DBUS_GLIB_REQUIRED=0.74 GSTREAMER_REQUIRED=0.10.23 GSTREAMER_TAG_REQUIRED=0.10.28 diff --git a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala index 678ce25..48c9963 100644 --- a/src/plugins/media-export/rygel-media-export-metadata-extractor.vala +++ b/src/plugins/media-export/rygel-media-export-metadata-extractor.vala @@ -69,7 +69,9 @@ public class Rygel.MediaExport.MetadataExtractor: GLib.Object { if (this.extract_metadata) { var gst_timeout = (ClockTime) (this.timeout * Gst.SECOND); - this.discoverer = new GUPnP.DLNADiscoverer (gst_timeout); + this.discoverer = new GUPnP.DLNADiscoverer (gst_timeout, + true, + true); this.discoverer.done.connect (on_done); this.discoverer.start (); } -- 2.7.4