wpesrc: Always log loaded URI
authorPhilippe Normand <philn@igalia.com>
Thu, 31 Jan 2019 16:30:18 +0000 (16:30 +0000)
committerSebastian Dröge <slomo@coaxion.net>
Wed, 20 Mar 2019 10:14:51 +0000 (10:14 +0000)
ext/wpe/WPEThreadedView.cpp

index 7770163..532ec54 100644 (file)
@@ -330,14 +330,14 @@ void WPEThreadedView::loadUriUnlocked(const gchar* uri)
 {
     if (webkit.uri)
         g_free(webkit.uri);
+
+    GST_DEBUG("loading %s", uri);
     webkit.uri = g_strdup(uri);
     webkit_web_view_load_uri(webkit.view, webkit.uri);
 }
 
 void WPEThreadedView::loadUri(const gchar* uri)
 {
-    GST_DEBUG("loading %s", uri);
-
     struct UriContext {
         WPEThreadedView& view;
         const gchar* uri;