mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
gsettings: fix some more warnings
This commit is contained in:
parent
c71e8a9341
commit
01dae19624
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue