Skip to content
  • Vincent Penquerc'h's avatar
    flacdec: fix spurious timestamp discontinuity · 8548b2c7
    Vincent Penquerc'h authored
    We need to tell the base class that we're dropping buffers,
    so it drops the input timestamps corresponding to these.
    Otherwise, the first actual audio buffers we output will be
    stamped with those - GST_CLOCK_TIMESTAMP_NONE. That mismatch
    between input buffer count and output buffer count will stay
    while playing. With enough headers and long enough buffer
    durations, the sink will have played enough before receiving
    the first valid timestamp (usually 0), and will trigger an
    audible discontinuity.
    8548b2c7