After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 608171 - [dvbsrc] many wake-ups in read_device on signal loss.
[dvbsrc] many wake-ups in read_device on signal loss.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal minor
: 0.10.23
Assigned To: David Schleef
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-26 16:50 UTC by Vincent Génieux
Modified: 2011-05-23 14:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (8.79 KB, patch)
2010-01-27 14:05 UTC, Vincent Génieux
committed Details | Review

Description Vincent Génieux 2010-01-26 16:50:12 UTC
The poll timeout is very short (100 ms) causing many wake-ups when dvb signal is lost.

It could be increased, but then stopping the pipeline is slower.
Comment 1 Vincent Génieux 2010-01-27 14:05:00 UTC
Created attachment 152399 [details] [review]
proposed patch

modified : read_device function now use a GstPoll
added: timeout property (in micro second)
Comment 2 Sebastian Dröge (slomo) 2011-05-23 14:51:33 UTC
commit 5616efb0f8868d9ffb57a308ccf42d4a4df8ea66
Author: Vincent Génieux <vgenieux@free.fr>
Date:   Mon May 23 16:47:31 2011 +0200

    dvbsrc: Add timeout property and use GstPoll instead of poll
    
    This allows to use much higher timeout values because GstPoll
    is interruptible and keeps the number of wakeups during signal
    loss lower.
    
    Fixes bug #608171.