From 453fef95a1527997e6e360d134ed7087a4773876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 29 Sep 2007 05:26:54 +0000 Subject: configure.ac: Update gio's pkg-config file name as currently in SVN. Original commit message from CVS: * configure.ac: Update gio's pkg-config file name as currently in SVN. * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_set_location): Remove special casing for a NULL query string. g_strjoin won't add the separator if there's only one string. --- ChangeLog | 9 +++++++++ configure.ac | 4 ++-- ext/neon/gstneonhttpsrc.c | 5 +---- 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 75b0b2a6..1db622cc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-09-29 Sebastian Dröge + + * configure.ac: + Update gio's pkg-config file name as currently in SVN. + + * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_set_location): + Remove special casing for a NULL query string. g_strjoin won't add + the separator if there's only one string. + 2007-09-28 Wim Taymans * gst/rtpmanager/gstrtpbin.c: (free_client): diff --git a/configure.ac b/configure.ac index 64984a1f..18677779 100644 --- a/configure.ac +++ b/configure.ac @@ -531,8 +531,8 @@ AG_GST_CHECK_FEATURE(FAAD, [AAC decoder plug-in], faad, [ dnl *** libgio *** translit(dnm, m, l) AM_CONDITIONAL(USE_GIO, true) -AG_GST_CHECK_FEATURE(GIO, [GIO standalone library], gio, [ - PKG_CHECK_MODULES(GIO, gio-standalone >= 0.0.1, HAVE_GIO="yes", [ +AG_GST_CHECK_FEATURE(GIO, [GIO library], gio, [ + PKG_CHECK_MODULES(GIO, gio-2.0 >= 0.1, HAVE_GIO="yes", [ HAVE_GIO="no" AC_MSG_RESULT(no) ]) diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 0172a4a9..1d3a22f0 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -729,10 +729,7 @@ gst_neonhttp_src_set_location (GstNeonhttpSrc * src, const gchar * uri) if (!src->uri.path) src->uri.path = g_strdup (""); - if (src->uri.query) - src->query_string = g_strjoin ("?", src->uri.path, src->uri.query, NULL); - else - src->query_string = g_strdup (src->uri.path); + src->query_string = g_strjoin ("?", src->uri.path, src->uri.query, NULL); src->location = ne_uri_unparse (&src->uri); -- cgit v1.2.1