<div dir="ltr"><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>please ignore</div><div><br></div><div>i needed to changeĀ </div><div><br></div><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">MtdataMeta *in = gst_buffer_add_mtdata_meta(*outbuf, (gchar *)hello.c_str());
</pre><br class="gmail-Apple-interchange-newline"></div><div>to</div><div><br></div><div><div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Menlo,Monaco,"Courier New",monospace;font-size:12px;line-height:18px;white-space:pre"><div> <span style="color:rgb(78,201,176)">gchar</span> <span style="color:rgb(180,180,180)">*</span><span style="color:rgb(200,200,200)">test</span> <span style="color:rgb(180,180,180)">=</span> <span style="color:rgb(200,200,200)">g_strdup</span>(<span style="color:rgb(200,200,200)">hello</span>.<span style="color:rgb(200,200,200)">c_str</span>());</div><div> <span style="color:rgb(78,201,176)">MtdataMeta</span> <span style="color:rgb(180,180,180)">*</span><span style="color:rgb(200,200,200)">in</span> <span style="color:rgb(180,180,180)">=</span> <span style="color:rgb(200,200,200)">gst_buffer_add_mtdata_meta</span>(<span style="color:rgb(180,180,180)">*</span><span style="color:rgb(127,127,127)">outbuf</span>, <span style="color:rgb(200,200,200)">test</span>);</div><div> <span style="color:rgb(200,200,200)">g_free</span>(test);</div></div></div></div></div>