gsettings: fix some more warnings
This commit is contained in:
parent
c71e8a9341
commit
01dae19624
@ -71,7 +71,7 @@ gst_gsettings_audio_src_change_child (GstGSettingsAudioSrc * src)
|
|||||||
if (new_string) {
|
if (new_string) {
|
||||||
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
|
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
|
||||||
if (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);
|
err->message);
|
||||||
g_error_free (err);
|
g_error_free (err);
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ gst_gsettings_video_sink_change_child (GstGSettingsVideoSink * sink)
|
|||||||
if (new_string) {
|
if (new_string) {
|
||||||
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
|
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
|
||||||
if (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);
|
err->message);
|
||||||
g_error_free (err);
|
g_error_free (err);
|
||||||
}
|
}
|
||||||
|
@ -71,7 +71,7 @@ gst_gsettings_video_src_change_child (GstGSettingsVideoSrc * src)
|
|||||||
if (new_string) {
|
if (new_string) {
|
||||||
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
|
new_kid = gst_parse_bin_from_description (new_string, TRUE, &err);
|
||||||
if (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);
|
err->message);
|
||||||
g_error_free (err);
|
g_error_free (err);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user