mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-09-02 02:03:54 +00:00
parent
ea21e404a7
commit
df9f72e78c
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ gst_file_src_set_location (GstFileSrc * src, const gchar * location)
|
||||||
/* we store the filename as received by the application. On Windoes this
|
/* we store the filename as received by the application. On Windoes this
|
||||||
* should be UTF8 */
|
* should be UTF8 */
|
||||||
src->filename = g_strdup (location);
|
src->filename = g_strdup (location);
|
||||||
src->uri = gst_uri_construct ("file", src->filename);
|
src->uri = g_filename_to_uri (src->filename, NULL, NULL);
|
||||||
}
|
}
|
||||||
g_object_notify (G_OBJECT (src), "location");
|
g_object_notify (G_OBJECT (src), "location");
|
||||||
gst_uri_handler_new_uri (GST_URI_HANDLER (src), src->uri);
|
gst_uri_handler_new_uri (GST_URI_HANDLER (src), src->uri);
|
||||||
|
|
Loading…
Reference in a new issue