[gst-devel] Extracting properties from element causes hang
Tim-Philipp Müller
t.i.m at zen.co.uk
Mon Jan 3 18:38:02 CET 2011
On Mon, 2011-01-03 at 08:48 -0800, Wes Miller wrote:
> Which, at least, confirms its not related to the datatype of the queried
> value.
It won't depend on the data type, but on the locks taken by the
implementation.
> Other suggestions happily accepted!
Run your code in gdb. When it hangs, interrupt it and get the stack
trace (thread apply all bt). That should show you exactly where it hangs
(ie. what lock it tries to take ususally). Then you can look at the
implementation ..
> p.s. the "other" problems using g_object_get() are that it returns different
> datatypes for the values than does g_object_get_property(). For example,
> the "name" property is returned as a gchararray not as the expected
> G_TYPE_STRING.
Not quite sure what the problem is here or what you expect for
G_TYPE_STRING if not a char array.
Cheers
-Tim
More information about the gstreamer-devel
mailing list