mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
docs: clarify that return value of gst_filename_to_uri() must be freed
https://bugzilla.gnome.org/show_bug.cgi?id=747104
This commit is contained in:
parent
a3b42ec42a
commit
ac8a8f90b3
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue