Element pad implementation and property flag use

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Jun 25 09:47:34 PDT 2013


On Tue, 2013-06-25 at 17:30 +0100, George Demetriades wrote:
> Thanks for the quick reply Tim.
> 
> 
> I hadn't realised that the implementation isn't externally accessible.
> This is useful to know.
> 
> 
> For the flags, I'm trying to change a property on a Fluendo decoding
> element (the "trim" property on the "fluaacdec" element), but the code
> seg faults at this point in the code. I was wondering if the problem
> could be caused by the flag settings; would you have any ideas on
> this?

Unlikely. The flags just tell you whether you can change it or only read
it.

The most likely cause of a segfault is that you either pass the wrong
type of argument to g_object_set() - maybe better add a cast to make
sure, or that you forgot a ", NULL" at the end.

Cheers
 -Tim




More information about the gstreamer-devel mailing list