[gstreamer-bugs] [Bug 619679] [gstdvbsrc] gst_dvbsrc_tune() should poll interface instead of looping

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 14 21:27:34 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=619679
  GStreamer | gst-plugins-bad | git

--- Comment #2 from Austin Lund <austin.lund at gmail.com> 2010-06-15 04:27:33 UTC ---
The biggest problem with this patch is that it could loop forever if the status
changes within the timeout (20 seconds) but the change is not to a signal
locking state.  For example, you might change between getting the sync state
and not having sync every few seconds which will reset the loop each time
provided the state changes within the time-out (20 seconds).

The better option would probably be to have a hard time-out (say 60 seconds)
and if sync isn't achieved by then, return FALSE.  However, this would
complicate the poll call as the time-out would have to be calculated each time
around the loop.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.




More information about the Gstreamer-bugs mailing list