diff --git a/ext/gsettings/gstgsettingsaudiosrc.c b/ext/gsettings/gstgsettingsaudiosrc.c index 1eef412e31..844c8eba44 100644 --- a/ext/gsettings/gstgsettingsaudiosrc.c +++ b/ext/gsettings/gstgsettingsaudiosrc.c @@ -71,7 +71,7 @@ gst_gsettings_audio_src_change_child (GstGSettingsAudioSrc * src) if (new_string) { new_kid = gst_parse_bin_from_description (new_string, TRUE, &err); if (err) { - GST_ERROR_OBJECT ("error creating bin '%s': %s", new_string, + GST_ERROR_OBJECT (src, "error creating bin '%s': %s", new_string, err->message); g_error_free (err); } diff --git a/ext/gsettings/gstgsettingsvideosink.c b/ext/gsettings/gstgsettingsvideosink.c index f862d1b14e..2444c7c5d5 100644 --- a/ext/gsettings/gstgsettingsvideosink.c +++ b/ext/gsettings/gstgsettingsvideosink.c @@ -71,7 +71,7 @@ gst_gsettings_video_sink_change_child (GstGSettingsVideoSink * sink) if (new_string) { new_kid = gst_parse_bin_from_description (new_string, TRUE, &err); if (err) { - GST_ERROR_OBJECT ("error creating bin '%s': %s", new_string, + GST_ERROR_OBJECT (sink, "error creating bin '%s': %s", new_string, err->message); g_error_free (err); } diff --git a/ext/gsettings/gstgsettingsvideosrc.c b/ext/gsettings/gstgsettingsvideosrc.c index 7eeaabe731..42ee5fef53 100644 --- a/ext/gsettings/gstgsettingsvideosrc.c +++ b/ext/gsettings/gstgsettingsvideosrc.c @@ -71,7 +71,7 @@ gst_gsettings_video_src_change_child (GstGSettingsVideoSrc * src) if (new_string) { new_kid = gst_parse_bin_from_description (new_string, TRUE, &err); if (err) { - GST_ERROR_OBJECT ("error creating bin '%s': %s", new_string, + GST_ERROR_OBJECT (src, "error creating bin '%s': %s", new_string, err->message); g_error_free (err); }