1. 24 Oct, 2014 2 commits
    • Michael Niedermayer's avatar
      Merge commit '1bd0bdcd' · e96ca404
      Michael Niedermayer authored
      * commit '1bd0bdcd':
        lavu: Add av_gettime_relative
      
      Conflicts:
      	libavutil/time.c
      	libavutil/time.h
      	libavutil/version.h
      
      See: 0eec06edMerged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
      e96ca404
    • Martin Storsjö's avatar
      lavu: Add av_gettime_relative · 1bd0bdcd
      Martin Storsjö authored
      Since av_gettime() is used in a number of places where actual
      real time clock is required, the monotonic clock introduced in
      ebef9f5a would have consequences that are hard to handle. Instead
      split it into a separate function that can be used in the cases
      where only relative time is desired.
      
      On platform where no monotonic clock is available, the difference
      between the two av_gettime functions is not clear, and one could
      mistakenly use the relative clock where an absolute one is
      required. Therefore add an offset, to make it evident that the
      time returned from av_gettime_relative never is actual current
      real time, even though it is based on av_gettime.
      
      Based on a patch by Olivier Langlois.
      Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
      1bd0bdcd
  2. 23 Oct, 2014 18 commits
  3. 22 Oct, 2014 11 commits
  4. 21 Oct, 2014 9 commits