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 692613 - tests: reduce number of wake-ups in test applications
tests: reduce number of wake-ups in test applications
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal enhancement
: 1.1.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-01-27 04:13 UTC by B.Prathibha
Modified: 2013-01-27 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Use g_timeout_add_seconds wherever possible. (6.89 KB, patch)
2013-01-27 04:17 UTC, B.Prathibha
committed Details | Review

Comment 1 B.Prathibha 2013-01-27 04:17:53 UTC
Created attachment 234508 [details] [review]
Use g_timeout_add_seconds wherever possible.
Comment 2 Tim-Philipp Müller 2013-01-27 14:32:45 UTC
These are just silly test applications, there's not really much point in reducing wake-ups. Also, using _add_seconds() risks an additional initial delay for the first iteration, but it *looks* like it should be ok in these cases, so pushed to master, thanks:

 commit 8afb9e896c5f09ff4ad8f3979706ec24b7c35683
 Author: B.Prathibha <prathibhab@cdac.in>
 Date:   Sun Jan 27 09:45:59 2013 +0530

    tests: use g_timeout_add_seconds wherever possible.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=692613