summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorParthasarathi Susarla <partha.susarla@collabora.co.uk>2010-08-16 20:56:52 +0530
committerArun Raghavan <arun.raghavan@collabora.co.uk>2010-08-16 21:22:54 +0530
commit8854593127c587b7deab44af2d4acd3702b20f7a (patch)
tree6713cbfc9ab596551f948b6a8c98387914924346 /tools
parent17aa09acdbb4e96537496f5564c6134b50247d4a (diff)
downloadgupnp-dlna-8854593127c587b7deab44af2d4acd3702b20f7a.tar.gz
libgupnp-dlna: add getters for properties
This patch adds the getters for relaxed_mode and extended_mode of GUPnPDLNADiscoverer
Diffstat (limited to 'tools')
-rw-r--r--tools/gupnp-dlna-info.c4
-rw-r--r--tools/gupnp-dlna-ls-profiles.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/tools/gupnp-dlna-info.c b/tools/gupnp-dlna-info.c
index 12f9dc8..2f19d85 100644
--- a/tools/gupnp-dlna-info.c
+++ b/tools/gupnp-dlna-info.c
@@ -464,7 +464,9 @@ main (int argc, char **argv)
discover = gupnp_dlna_discoverer_new ((GstClockTime)
- (timeout * GST_SECOND));
+ (timeout * GST_SECOND),
+ FALSE,
+ FALSE);
if (async == FALSE) {
for ( i = 1 ; i < argc ; i++ ) {
diff --git a/tools/gupnp-dlna-ls-profiles.c b/tools/gupnp-dlna-ls-profiles.c
index fee2300..12771f6 100644
--- a/tools/gupnp-dlna-ls-profiles.c
+++ b/tools/gupnp-dlna-ls-profiles.c
@@ -112,7 +112,9 @@ main (int argc, char **argv)
gst_init (&argc, &argv);
- discover = gupnp_dlna_discoverer_new ((GstClockTime) GST_SECOND);
+ discover = gupnp_dlna_discoverer_new ((GstClockTime) GST_SECOND,
+ FALSE,
+ FALSE);
profiles = (GList *) gupnp_dlna_discoverer_list_profiles (discover);