[gst-devel] blocked glib idle/timeout

Arnout Vandecappelle arnout at mind.be
Wed Mar 25 23:32:03 CET 2009


On Wednesday 25 March 2009 01:18:10 Dan Taylor wrote:
> My simplest test pipeline has dvbsrc, mpegtsdemux (tried flutsdemux,
> too), and
> two filesinks (location is /dev/null).  There's a new pad callback to
> connect
> the demuxer to the filesinks, which works when the specified program
> number
> is in the stream.
>
> When I use a program number that exists in the stream, the functions
> called with g_idle_add_full() and g_timeout_add_full(), and the shorter
> forms, are called.  When the program number doesn't exist in the stream,
> the timeout is never called, and the idle function stops within a
> second.

 This may be a very stupid remark, but do you use queues in your pipeline?  If 
not, the two sinks will deadlock the main thread...

 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  D206 D44B 5155 DF98 550D  3F2A 2213 88AA A1C7 C933




More information about the gstreamer-devel mailing list