GNOME Bugzilla – Bug 327680
Add DRAIN event
Last modified: 2009-07-27 20:51:37 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.
Created attachment 57634 [details] [review] First stab at DRAIN, and handling in GstQueue
can you split up the patch, it seems it has some cleanups and refactoring too.
Created attachment 57644 [details] [review] Updated patch Updated patch. I committed the refactoring separately
Closing this bug. I found other ways to implement the timeouts for DVD, so I no longer have a use for a drain event.