summaryrefslogtreecommitdiff
path: root/gstplayer/GstMetadataRetrieverDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gstplayer/GstMetadataRetrieverDriver.cpp')
-rw-r--r--gstplayer/GstMetadataRetrieverDriver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gstplayer/GstMetadataRetrieverDriver.cpp b/gstplayer/GstMetadataRetrieverDriver.cpp
index 05fc5a3..0b4b029 100644
--- a/gstplayer/GstMetadataRetrieverDriver.cpp
+++ b/gstplayer/GstMetadataRetrieverDriver.cpp
@@ -203,10 +203,10 @@ GstMetadataRetrieverDriver::setDataSource (const char *url)
if (!gst_uri_is_valid (url)) {
gchar *uri_file = g_filename_to_uri (url, NULL, NULL);
- mUri = g_strdup_printf ("%s", uri_file);
+ mUri = g_strdup (uri_file);
g_free (uri_file);
} else {
- mUri = g_strdup_printf ("%s", url);
+ mUri = g_strdup (url);
}
LOGV ("set uri %s to src", mUri);