GNOME Bugzilla – Bug 732572
GstElement: Design an API to handle seek events in any state
Last modified: 2014-07-01 18:23:33 UTC
Right now, seeking elements doesn't do anything until source pads are exposed. It would be nice to have a generic way to seek elements even in the NULL state, or at least in the READY state. My idea was: gst_element_seek_simple: if not srcpads: store_segment, call vmethod set_initial_segment gst_bin_set_initial_segment: STATE_LOCK(bin); iterate_elements and gst_element_seek (them); STATE_UNLOCK(bin); then in the various demuxers, call gst_element_get_initial_segment and seek there immediately if possible. Any thoughts?
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 696952 ***