[gst-devel] Simple Video Sink Plugin

René Stadler mail at renestadler.de
Tue Dec 12 20:46:16 CET 2006


Am Dienstag, den 12.12.2006, 20:11 +0100 schrieb Patrick Holthaus:
> Hey!
> Thanks to everyone who provided me tips & tricks. Finally my plugin can be 
> load by GStreamer and is listed in the gst-inspect output.
> 
> Nontheless gst-inspect dies with a segmentation fault on listing the 
> properties of my element. I have no clue why. Any help is appreciated. I 
> attached the output of gdb and my source file.
> 
> Thanks again,
> Patrick

Strange: You have gst_javasink_set_property but the function to get
properties is named gst_aasink_get_property (which isn't used anywhere;
your class_init sets ->get_property to a non-existant function).  Your
get_property function fills the passed GValues using g_value_set_boolean
instead of g_value_set_pointer.  This shouldn't even compile.  I assume
you attached the wrong file or something.

Anyways, the crash is related to property getting.  gst-inspect most
probably crashes while trying to obtain the property's "current value".
That is, it creates an instance of your element class and obtains the
value that this fresh instance sets for the property.

Regards,
  René Stadler





More information about the gstreamer-devel mailing list