1. 04 Apr, 2009 3 commits
  2. 03 Apr, 2009 12 commits
  3. 02 Apr, 2009 2 commits
  4. 31 Mar, 2009 2 commits
  5. 30 Mar, 2009 2 commits
  6. 29 Mar, 2009 1 commit
  7. 27 Mar, 2009 6 commits
  8. 26 Mar, 2009 12 commits
    • Wim Taymans's avatar
      clock: make UNSCHEDULED checks threadsafe · 4446f997
      Wim Taymans authored
      Move the checks for using an unscheduled entry from the unsafe GstClock to the
      SystemClock object so that we can perform the correct locking.
      fix a leak and potential deadlock then the async thread fails to start.
      Sprinkle some G_LIKELY around because we can.
      4446f997
    • Wim Taymans's avatar
      clock: remove pending async wakeup sooner · e15cf9bc
      Wim Taymans authored
      Remove a pending async wakeup before we check if the next entry is UNSCHEDULED
      because we might leave the control socket busy.
      e15cf9bc
    • Peter Kjellerstedt's avatar
      7be99f05
    • Wim Taymans's avatar
      clock: add some more comments. · 41f1a188
      Wim Taymans authored
      41f1a188
    • Wim Taymans's avatar
      clock: rework the wakeup of entries. · 16b68e7d
      Wim Taymans authored
      Keep a counter for the amount of outstanding wakeups that we produce and only
      perform a write/read to the control socket when 1 or 0 respectively.
      don't poll when waiting for the entries to be unblocked and clear their wakeup
      counts, just act on the signal when the wakeup count is 0.
      unscheduled entries will clear their wakeup count themselves.
      Keep track of when we wakeup the async thread because the list of entries has
      changed.
      don't try to see if the list changed because we can't really know when one entry
      is added multiple times.
      Only wake up the async thread when we add an async entry to the head of the list
      and the old entry was BUSY.
      16b68e7d
    • Jan Schmidt's avatar
      gstpoll: Fix up documentation strings. · 31669a48
      Jan Schmidt authored
      Note the changed behaviour of gst_poll_wait for timer GstPoll's, and
      fix a couple of spelling errors.
      31669a48
    • Wim Taymans's avatar
      clock: fix 2 wakeup races. · df30f600
      Wim Taymans authored
      when an entry being waited on in the async thread is unscheduled, clear the
      wakeup queue so we can continue waiting on other entries.
      When an entry being waited on in the async thread is unlocked because an earlier
      entry was added to the list, set the entry to OK again. This makes sure that
      only the entries being waited on have the BUSY flag set and wake up the timer
      poll when they are unscheduled.
      df30f600
    • Tim-Philipp Müller's avatar
      registry: ignore .git directory when recursively scanning plugin paths for plugins · ea554b1d
      Tim-Philipp Müller authored
      Saves some cycles/pandas for those of us who run uninstalled setups.
      ea554b1d
    • Tim-Philipp Müller's avatar
      registry: do fsync() before close() and rename() · cc0978bd
      Tim-Philipp Müller authored
      This helps prevent filesystem/data inconsistencies in certain
      circumstances on certain filesystems (like ext4, xfs, ubifs).
      Also see bug #562976.
      cc0978bd
    • Tim-Philipp Müller's avatar
      API: add gst_tag_list_get_buffer{_index} · c4e10b95
      Tim-Philipp Müller authored
      Convenience API, mostly for image tags, so people don't have to
      figure out the whole GValue/GstValue thing just for this.
      c4e10b95
    • Jan Schmidt's avatar
      systemclock: Clean up the tests a bit. · 4ef524f5
      Jan Schmidt authored
      Add some cleanups to the system clock tests, to free all the memory and
      unschedule/unref all clock IDs we allocate.
      
      Use a mutex in one test to avoid potential threading problems on multicore
      machines.
      4ef524f5
    • Jan Schmidt's avatar
      systemclock: Add a test for sync/async clockid interactions · b35f4248
      Jan Schmidt authored
      This test randomly hangs if there are problems with the reliability of
      unscheduling sync and async clockID's on the system clock.
      b35f4248