[gst-devel] gst_init and threads
Rémi BUISSON
remi.buisson at viotech.net
Tue Jul 29 17:28:23 CEST 2008
Hi everyone,
Is possible to have an gstreamer running in a thread (for a streaming
server, for instance) ?
For instance :
...
pthread_create(&gst, NULL, streamerGStreamer, buff);
...
void *streamerGStreamer(void *arg)
{
GMainLoop *loop;
GstBus *bus;
int argc = 2;
gst_init(NULL, NULL);
loop = g_main_loop_new(NULL, FALSE);
...
}
I ask it beacause I get this error:
Gstreamer ERROR: could not pause
Thanks in advance.
More information about the gstreamer-devel
mailing list