projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3b42ec
)
docs: clarify that return value of gst_filename_to_uri() must be freed
author
Tim-Philipp Müller
<tim@centricular.com>
Thu, 16 Apr 2015 12:41:20 +0000
(13:41 +0100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Thu, 16 Apr 2015 12:42:18 +0000
(13:42 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=747104
gst/gsturi.c
patch
|
blob
|
history
diff --git
a/gst/gsturi.c
b/gst/gsturi.c
index
9a04dcb
..
3d78562
100644
(file)
--- a/
gst/gsturi.c
+++ b/
gst/gsturi.c
@@
-927,6
+927,9
@@
file_path_contains_relatives (const gchar * path)
* will be canonicalised so that it doesn't contain any './' or '../' segments.
*
* On Windows #filename should be in UTF-8 encoding.
+ *
+ * Returns: newly-allocated URI string, or NULL on error. The caller must
+ * free the URI string with g_free() when no longer needed.
*/
gchar *
gst_filename_to_uri (const gchar * filename, GError ** error)