<div dir="ltr"><div>Hi,</div><div><br></div><div>GES is not MT safe and all its API should be used from the main thread, so the thread where `ges_init` was called.</div><div><br></div><div>Regards,</div><div><br></div><div>Thibault Saunier<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 27, 2020 at 5:27 PM killerrats <<a href="mailto:koreysjunkmail@gmail.com">koreysjunkmail@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><pre>I just updated the gstreamer from 1.14. when I was using the gstreamer editing service it gives an error  when setting the mode for the GES. this is in c++.

GES:ERROR:../ges/ges-pipeline.c:1144:ges_pipeline_set_mode: assertion failed: (pipeline->priv->valid_thread == g_thread_self())

I use this to set the mode of rendering or preview.
HANDLE handle = reinterpret_cast<u></u>(_beginthreadex(0, 0,&VideoPipeline::ThePreviewModeThread, pipe->pPipeline, 0, 0));
CloseHandle(handle);

</pre>

        
        
        <div style="margin-top:1em;color:rgb(102,102,102);font-size:11px">
                                ------------------------------
<br>Gstreamer 1.16.2
<br>------------------------------
<br>Windows
                        </div>
<br><hr width="300" align="left">
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>