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 327680 - Add DRAIN event
Add DRAIN event
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-19 09:37 UTC by Jan Schmidt
Modified: 2009-07-27 20:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
First stab at DRAIN, and handling in GstQueue (20.60 KB, patch)
2006-01-19 09:45 UTC, Jan Schmidt
none Details | Review
Updated patch (12.21 KB, patch)
2006-01-19 14:59 UTC, Jan Schmidt
none Details | Review

Description Jan Schmidt 2006-01-19 09:37:13 UTC
A 'DRAIN' event that allows an upstream element to wait until all downstream data
has been presented/streamed/output-to-disk would be useful. 

The primary use case is for presentation sequences, such as DVD menus or still frames, that have a timeout - eg a 2 second still, or a 30 second menu timeout before selecting a default option.

The timeout/wait should not begin until the still frame or menu has been presented to the user, otherwise the duration will be shortened by the size of any downstream queued content.
Comment 1 Jan Schmidt 2006-01-19 09:45:58 UTC
Created attachment 57634 [details] [review]
First stab at DRAIN, and handling in GstQueue
Comment 2 Wim Taymans 2006-01-19 10:11:16 UTC
can you split up the patch, it seems it has some cleanups and refactoring too.
Comment 3 Jan Schmidt 2006-01-19 14:59:34 UTC
Created attachment 57644 [details] [review]
Updated patch

Updated patch. I committed the refactoring separately
Comment 4 Jan Schmidt 2009-07-27 20:51:37 UTC
Closing this bug. I found other ways to implement the timeouts for DVD, so I no longer have a use for a drain event.