[gst-devel] Stalled stream

David Schleef ds at schleef.org
Wed Jul 16 14:58:03 CEST 2003


On Wed, Jul 16, 2003 at 11:38:47PM +0200, Ronald Bultje wrote:
> Hey Mattias,
> 
> On Wed, 2003-07-16 at 22:05, Mattias Wadman wrote:
> > Is it possible in some way to detect if a fdsrc element have
> > stopped recieving data? maybe by make it timeout somehow?
> 
> It doesn't do that yet, but yes, it'd be possible, using alarm (). You
> can add this to the plugin and submit a patch to bugzilla to make us put
> it into GStreamer CVS, if you wish.

Ugh.  Don't use alarm(), use select().  Signals should only be used
by a library at the explicit request of an application.



dave...





More information about the gstreamer-devel mailing list