[gst-devel] How to associate GStreamer elements with a specific GMainContext?

Kirill Kirichenko kirill.kirichenko at gmail.com
Wed Aug 20 12:44:40 CEST 2008


See the attachment

On Wed, Aug 20, 2008 at 2:30 PM, Philipp Leibfried
<Philipp.Leibfried at gmx.de> wrote:
> Hi everyone,
>
> I have a question concerning GStreamer and multi-threading.
>
> I'm devleoping an application in which I need to run several GStreamer pipelines in parallell, i.e. each in its own thread. Moreover, pipelines need to be paused or stopped at a caller's request. The latter is why I plan on using g_main_context_iteration() instead of g_main_loop_run() to "run" the pipelines.
> The question is: how do I make sure that g_nmain_context_iteration() only runs one specific pipeline and not all of the pipelines which happen to be active at the time of the call? Is there a way to associate specific GStreamer elements with a specific GMainContext?
>
> TIA
> -Philipp Leibfried
>
>
>
> --
> GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
> http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: playbin.c
Type: text/x-csrc
Size: 3663 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080820/f32ca84d/attachment.c>


More information about the gstreamer-devel mailing list