1. 04 Apr, 2011 3 commits
    • Stian Johansen's avatar
      baseaudiosrc: Add src object lock around call to ringbuffer parse caps. · 0f8edca9
      Stian Johansen authored
      A race was observed between query() and setcaps() where the latter would
      change the ringbuffer spec while the former was performing operations
      based this data.
      0f8edca9
    • Havard Graff's avatar
      baseaudiosrc: protect against ringbuffer disappearing while in a query · 63cfa2a5
      Havard Graff authored
      Observed a case where the src went to null-state during the query,
      hence the spec pointer was no longer valid, and
      gst_util_unit64_scale_int crashed (assertion `denom > 0´failed)
      
      Add locking to make sure the ringbuffer can't disappear.
      63cfa2a5
    • Havard Graff's avatar
      baseaudiosink: don't allow aligning behind the read-segment · 588ac0ae
      Havard Graff authored
      Given a large enough drift-tolerance, one could end up in a situation
      where one would keep aligning the written buffers behind the current
      read-segment position. The result for the reader would be complete
      silence, possible preceded by very choppy audio.
      
      By checking the available headroom, one can determine if there is
      room to do alignment, or if one should resort to a resync instead to get
      the pointers back on track.
      
      Also refactor the alignment-logic out of the render function for cleaner
      code.
      588ac0ae
  2. 01 Apr, 2011 14 commits
  3. 31 Mar, 2011 3 commits
  4. 30 Mar, 2011 7 commits
  5. 29 Mar, 2011 4 commits
  6. 26 Mar, 2011 3 commits
  7. 25 Mar, 2011 6 commits