GNOME Bugzilla – Bug 687154
examples: error in level plugin example code
Last modified: 2012-10-30 18:42:04 UTC
Error in the example code of plugin level (or bug in plugin). in line 48 return as type GValue (but "rms" is GArray) GValue->GArray¿? maybe. list = gst_structure_get_value (s, "rms"); the variable list is of type GValue and the function in line 48 of example. this function request a object of type GValue and return the size of, but returns a fail of object types channels = gst_value_list_get_size (list); I compile the example in ubuntu 12.10, gst libs v1.0
commit 0de4b76d3962463e385af73f7c785d06e643a4a3 Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Tue Oct 30 11:10:49 2012 +0000 tests: fix level example Use the GValueArray in the message. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=687154
Perfect super Wim!