summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorSebastian Dröge <slomo@circular-chaos.org>2007-12-29 17:31:49 +0000
committerSebastian Dröge <slomo@circular-chaos.org>2007-12-29 17:31:49 +0000
commit73cc44a5e858d15ccff2893f042b9bebd7c05bd7 (patch)
tree905f67bd5b07c09fd3b0066c3adf60eca7a15ef8 /sys
parentd56ba2c7806884e3c4a94cf5bde67e2482dc216a (diff)
downloadgst-plugins-bad-73cc44a5e858d15ccff2893f042b9bebd7c05bd7.tar.gz
gst-plugins-bad-73cc44a5e858d15ccff2893f042b9bebd7c05bd7.tar.bz2
gst-plugins-bad-73cc44a5e858d15ccff2893f042b9bebd7c05bd7.zip
Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x an...
Original commit message from CVS: * ext/ladspa/gstladspa.c: (gst_ladspa_get_property): * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_show_frame): * gst/mve/gstmvemux.c: (gst_mve_mux_request_new_pad): * sys/dvb/dvbbasebin.c: (dvb_base_bin_class_init): Fix 'xyz may be used uninitialized' compiler warnings caused by broken g_assert_not_reached() macro in GLib-2.15.x and don't abort() in any case but properly report the error.
Diffstat (limited to 'sys')
-rw-r--r--sys/dvb/dvbbasebin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dvb/dvbbasebin.c b/sys/dvb/dvbbasebin.c
index 2e007666..8f633e66 100644
--- a/sys/dvb/dvbbasebin.c
+++ b/sys/dvb/dvbbasebin.c
@@ -276,7 +276,10 @@ dvb_base_bin_class_init (DvbBaseBinClass * klass)
g_param_spec_get_nick (pspec), g_param_spec_get_blurb (pspec),
pspec->value_type, src_pspec->default_value, pspec->flags);
} else {
- g_assert_not_reached ();
+ GST_ERROR ("Unsupported property type %d for property %s",
+ param_type, g_param_spec_get_name (pspec));
+ ++walk;
+ continue;
}
g_object_class_install_property (gobject_class, walk->prop_id, our_pspec);