From 0df527510365ef20a65e585167c1b3a894bdfc98 Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Fri, 8 Apr 2011 11:03:21 -0400 Subject: g_strdup_printf -> g_strdup --- gstplayer/GstMetadataRetrieverDriver.cpp | 4 ++-- 1 file 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); -- cgit v1.2.3