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 535069 - basesrc no longer support non-flushing seeks on itself
basesrc no longer support non-flushing seeks on itself
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other opensolaris
: Normal major
: 0.10.26
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-05-27 12:18 UTC by Jan Schmidt
Modified: 2009-12-11 17:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Schmidt 2008-05-27 12:18:33 UTC
It used to be possible to close the current segment and open a new one with a  basesrc based element by sending a non-flushing seek to itself in the chain method.

Since around 0.10.15, this deadlocks due to changes in basesrc internal locking (it deadlocks on the live-lock) and makes it hard to implement a source element that supports autonomous output of a sequence of seamless segments.
Comment 1 Jan Schmidt 2008-06-04 22:07:19 UTC
This has been broken since last year sometime -  and since noone complained, I doubt anyone else is relying on it, so I don't really think it's a blocker. It'd be nice to fix it at some point though.
Comment 2 Wim Taymans 2008-06-05 09:19:32 UTC
We should probably add a method to basesrc to perform this functionality from the streaming thread.
Comment 3 Wim Taymans 2009-12-11 17:08:32 UTC
Fixed with this commit.


Author: Jan Schmidt <thaytan@noraisin.net>
Date:   Sat Nov 21 16:37:34 2009 +0100

    basesrc: Add gst_base_src_new_seamless_segment()
    
    Merge new function from resindvd into the primary GstBaseSrc for
    starting a new seamless segment.
    
    API: gst_base_src_new_seamless_segment()