AW: How to loop when streaming ?

Bernhard Graaf bernhard.graaf at gmx.de
Tue Feb 12 06:03:06 PST 2013


Something like this:

http://www.gtk.org/api/2.6/glib/glib-The-Main-Event-Loop.html#g-timeout-add


-----Ursprüngliche Nachricht-----
Von: gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org
[mailto:gstreamer-devel-bounces+bernhard.graaf=gmx.de at lists.freedesktop.org]
Im Auftrag von Weavel
Gesendet: Dienstag, 12. Februar 2013 14:45
An: gstreamer-devel at lists.freedesktop.org
Betreff: How to loop when streaming ?

Hi ! 
I'm new at Gstreamer, and i want to do a loop when i'm actually streaming.

I want to print a message every 5secondes (for example) and playing the
stream at the same time.

When i do the parse and then gst_state_playing, the main loop blocks.

I took the simple code of this source :
http://docs.gstreamer.com/display/GstSDK/Basic+tutorial+12:+Streaming

I also run it under a demon app, in case of bugs, maybe it can be usefull
for this.
I tried many ways with the bus but it doesn't work, or maybe i'm wrong ?

Any help is welcome. Thanks







--
View this message in context:
http://gstreamer-devel.966125.n4.nabble.com/How-to-loop-when-streaming-tp465
8487.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list