[Gstreamer-bugs] [Bug 133528] Changed - sincesrc seems not to register its dparams correctly

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Wed Feb 18 09:00:38 PST 2004


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=133528

Changed by kost at imn.htwk-leipzig.de.

--- shadow/133528	Wed Feb 18 10:00:49 2004
+++ shadow/133528.tmp.22770	Wed Feb 18 12:00:38 2004
@@ -106,6 +106,28 @@
 
 
 ------- Additional Comments From kost at imn.htwk-leipzig.de  2004-02-18 10:00 -------
 Created an attachment (id=24516)
 fixed double dparam support in the manager
 
+
+------- Additional Comments From kost at imn.htwk-leipzig.de  2004-02-18 12:00 -------
+still (after adding all the patches above) I get the following assertions
+
+(process:25610): GLib-GObject-CRITICAL **: file gvaluetypes.c: line
+732 (g_value_get_double): assertion `G_VALUE_HOLDS_DOUBLE (value)' failed
+(process:25610): GLib-GObject-CRITICAL **: file gvaluetypes.c: line
+732 (g_value_get_double): assertion `G_VALUE_HOLDS_DOUBLE (value)' failed
+
+in the g_object_set_property() call below:
+
+  audiosrcParam = gst_dpman_get_manager(audiosrc);
+  gst_dpman_set_mode(audiosrcParam, "synchronous");
+  vol = gst_dparam_new(G_TYPE_DOUBLE);
+  if (gst_dpman_attach_dparam(audiosrcParam, "volume", vol)){
+    vol_doubleval = atof(argv[3])/100.0;
+    vol_val = g_new0(GValue,1);
+    g_value_init(vol_val, G_TYPE_DOUBLE);
+    g_value_set_double(vol_val, vol_doubleval);
+    g_object_set_property(G_OBJECT(vol), "value_double", vol_val);
+  }
+




More information about the Gstreamer-bugs mailing list