ges_pipeline_set_mode error

Thibault Saunier tsaunier at gnome.org
Tue Jul 28 01:33:33 UTC 2020


Hi,

GES is not MT safe and all its API should be used from the main thread, so
the thread where `ges_init` was called.

Regards,

Thibault Saunier

On Mon, Jul 27, 2020 at 5:27 PM killerrats <koreysjunkmail at gmail.com> wrote:

> 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(_beginthreadex(0, 0,&VideoPipeline::ThePreviewModeThread, pipe->pPipeline, 0, 0));
> CloseHandle(handle);
>
>
> ------------------------------
> Gstreamer 1.16.2
> ------------------------------
> Windows
>
> ------------------------------
> Sent from the GStreamer-devel mailing list archive
> <http://gstreamer-devel.966125.n4.nabble.com/> at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200727/bf931ab5/attachment-0001.htm>


More information about the gstreamer-devel mailing list