summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Decina <alessandro.d@gmail.com>2010-07-05 09:32:30 +0200
committerAlessandro Decina <alessandro.d@gmail.com>2010-07-05 09:32:30 +0200
commit01dae19624232b80da369b2d0bc6e1847a37d39e (patch)
treee35567d3dfd9662dc7c33e6784c564d0c268d78a
parentc71e8a93413d063f1e580d871b6590f1214c0d83 (diff)
downloadgstreamer-plugins-bad-01dae19624232b80da369b2d0bc6e1847a37d39e.tar.gz
gsettings: fix some more warnings
-rw-r--r--ext/gsettings/gstgsettingsaudiosrc.c2
-rw-r--r--ext/gsettings/gstgsettingsvideosink.c2
-rw-r--r--ext/gsettings/gstgsettingsvideosrc.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/ext/gsettings/gstgsettingsaudiosrc.c b/ext/gsettings/gstgsettingsaudiosrc.c
index 1eef412e3..844c8eba4 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 f862d1b14..2444c7c5d 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 7eeaabe73..42ee5fef5 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);
}