[rygel] build,media-export: Adapt to gupnp-dlna 0.3 API



commit c1f91083c91bebc36df197de75b4ee0eebd6bd4b
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Aug 16 23:25:26 2010 +0300

    build,media-export: Adapt to gupnp-dlna 0.3 API

 configure.ac                                       |    4 ++--
 .../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 ();
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]