Commit 3ee4d608 authored by Stefan Sauer's avatar Stefan Sauer
Browse files

filesink: use GST_INFO_OBJECT for more detail

Helps to distiguish multiple filesinks.
parent 62bd514c
...@@ -292,8 +292,8 @@ gst_file_sink_set_location (GstFileSink * sink, const gchar * location, ...@@ -292,8 +292,8 @@ gst_file_sink_set_location (GstFileSink * sink, const gchar * location,
* this should be in UTF8 */ * this should be in UTF8 */
sink->filename = g_strdup (location); sink->filename = g_strdup (location);
sink->uri = gst_filename_to_uri (location, NULL); sink->uri = gst_filename_to_uri (location, NULL);
GST_INFO ("filename : %s", sink->filename); GST_INFO_OBJECT (sink, "filename : %s", sink->filename);
GST_INFO ("uri : %s", sink->uri); GST_INFO_OBJECT (sink, "uri : %s", sink->uri);
} else { } else {
sink->filename = NULL; sink->filename = NULL;
sink->uri = NULL; sink->uri = NULL;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment