<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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.<br>
<br>
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<br>
<br>
<pre class="line-pre"><span class="n">g_object_set</span><span class="p">(</span><span class="n">G_OBJECT</span><span class="p">(</span><span class="n">data</span><span class="o">-></span><span class="n">vidcaps</span><span class="p">),</span> <span class="s">"caps"</span><span class="p">,</span> <span class="n">caps</span><span class="p">,</span> <span class="nb">NULL</span><span class="p">);</span></pre>
<br>
<br>
On 08/08/2013 10:06 AM, Rameshkanth K S wrote:<br>
</div>
<blockquote
cite="mid:CADrHR1b576EOayUoTuC0Vs+xWZ0vajTbN0u6xOUsgbksY97z0g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div> 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.</div>
<div><br>
</div>
<div>Kind Regards,</div>
<div>Rameshkanth</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>