splitmuxsrc: minor error message clean-up
authorTim-Philipp Müller <tim@centricular.com>
Sun, 10 May 2015 09:52:18 +0000 (10:52 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sun, 10 May 2015 09:53:13 +0000 (10:53 +0100)
Don't put filename in error message shown to user.

gst/multifile/gstsplitmuxsrc.c

index ea3ea75..9e310c1 100644 (file)
@@ -557,8 +557,8 @@ gst_splitmux_pad_loop (GstPad * pad)
 
 error:
   /* Fall through */
-  GST_ELEMENT_ERROR (splitmux, RESOURCE, OPEN_READ,
-      ("Error reading part file %s", GST_STR_NULL (reader->path)), (NULL));
+  GST_ELEMENT_ERROR (splitmux, RESOURCE, OPEN_READ, (NULL),
+      ("Error reading part file %s", GST_STR_NULL (reader->path)));
 flushing:
   gst_pad_pause_task (pad);
   gst_object_unref (splitmux);