Commit 9afd27f2 authored by Benjamin Otte's avatar Benjamin Otte
Browse files

update default error callback to new error signal

Original commit message from CVS:
update default error callback to new error signal
parent be1eaa4d
......@@ -207,10 +207,11 @@ gst_element_real_get_property (GObject *object, guint prop_id, GValue *value, GP
* using g_print.
*/
void
gst_element_default_error (GObject *object, GstObject *orig, gchar *error)
gst_element_default_error (GObject *object, GstObject *orig, GError* error, gchar *detailed)
{
gchar *name = gst_object_get_path_string (orig);
g_print ("ERROR: %s: %s\n", name, error);
g_print ("ERROR: %s: %s\n", name, error->message);
g_print (" %s\n", detailed);
g_free (name);
}
......
......@@ -228,7 +228,8 @@ void gst_element_class_install_std_props (GstElementClass *kl
#define gst_element_default_deep_notify gst_object_default_deep_notify
void gst_element_default_error (GObject *object, GstObject *orig, gchar *error);
void gst_element_default_error (GObject *object, GstObject *orig,
GError *error, gchar *detailed);
GType gst_element_get_type (void);
......
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