[gst-devel] Extracting properties from element causes hang
wmiller at sdr.com
Mon Jan 3 21:52:25 CET 2011
I stink at gdb. I'll see where I get but I'm light on hope.
I guess I expected a string to be a string object with a length field and a
pointer to the data and gchararray to be either a char xyz or the "g"
representation of a chararray. I hadn't expected any difference in what
wouyld be returned. FWIW, the code I copied from gst-inspect sees them
With g_object_get_property() this runs as expected:
switch( G_VALUE_TYPE( &value ))
case G_TYPE_STRING: // String
But with g_object_get() I get to the bailaout case for Unknown datatype,
which prints Unknown datatype: gchararray (64).
The 64 appears to be the type index of gchararray.
So, I assume I'm missing the obvious and that they really are the same, but
Tim's code caught it.
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Extracting-properties-from-element-causes-hang-tp3168471p3172615.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel