Gstreamer segmentation fault - Upgrading from Ubuntu 11.10 to 12.04 LTS
Peter Rennert
p.rennert at cs.ucl.ac.uk
Thu Aug 8 06:17:48 PDT 2013
I had yesterday a weird problem with g_object_set() as well. I ported a
gstreamer application from python back to C. I forgot that
g_object_set() needs to be NULL terminated. For some time (several runs)
neither the compiler complained about the missing NULL nor anything was
wrong with the program running.
Then instantly I got very weird messages in run time that certain
properties do not exist. It took me some time to figure out what was
wrong. Just make sure that your g_object_set look like
g_object_set(G_OBJECT(data->vidcaps), "caps", caps, NULL);
On 08/08/2013 10:06 AM, Rameshkanth K S wrote:
> Hi,
> I am an beginner level to know about GStreamer, I am working on
> application developed using Gstreamer and its customized plug in which
> extracts information about Transport stream comes from encoder. I do
> not have any issues on ubuntu 11.10 64 bit, I am trying to do the same
> on ubuntu 12.04 LTS. On 12.04 LTS build and installed successfully,
> but crashed application because g_object_set() sets property for
> elements. Any help much appreciated.
>
> Kind Regards,
> Rameshkanth
>
>
> _______________________________________________
> 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/20130808/9675acc6/attachment.html>
More information about the gstreamer-devel
mailing list