Skip to content
  • Mathieu Duponchelle's avatar
    streamsynchronizer: Ignore flushing streams [..] · 2717f4a8
    Mathieu Duponchelle authored and Sebastian Dröge's avatar Sebastian Dröge committed
    [..] when resetting group start time. In GES, we are usually connected
    to the streamsynchronizer on one audio and one video pad.
    
    When seeking the timeline, both nlecompositions often output their flush_start
    before any of them has output its flush_stop.
    
    The current code, when receiving the first flush stop was using the
    running time of the start of the second composition, which could
    be pretty much anything, and means nothing at that point.
    
    This patch is thread-safe, as STREAM_SYNCHRONIZER_LOCK is taken
    both when setting flushing and when checking it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=750013
    2717f4a8