Element pad implementation and property flag use

George Demetriades gdemetriades at friendmts.co.uk
Wed Jun 26 00:58:36 PDT 2013


Ah, you're absolutely correct: I'd forgotten the NULL at the end. Thank you
for the help!

George


On 25 June 2013 17:47, Tim-Philipp Müller <t.i.m at zen.co.uk> wrote:

> 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
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130626/cbe14ffc/attachment.html>


More information about the gstreamer-devel mailing list