1. 07 Jun, 2015 1 commit
  2. 03 Jun, 2015 1 commit
    • Sebastian Dröge's avatar
      ptp: Initial implementation of a PTP clock · 8d777598
      Sebastian Dröge authored
      GstPtpClock implements a PTP (IEEE1588:2008) ordinary clock in
      slave-only mode, that allows a GStreamer pipeline to synchronize
      to a PTP network clock in some specific domain.
      
      The PTP subsystem can be initialized with gst_ptp_init(), which then
      starts a helper process to do the actual communication via the PTP
      ports. This is required as PTP listens on ports < 1024 and thus
      requires special privileges. Once this helper process is started, the
      main process will synchronize to all PTP domains that are detected on
      the selected interfaces.
      
      gst_ptp_clock_new() then allows to create a GstClock that provides the
      PTP time from a master clock inside a specific PTP domain. This clock
      will only return valid timestamps once the timestamps in the PTP domain
      are known. To check this, the GstPtpClock::internal-clock property and
      the related notify::clock signal can be used. Once the internal clock
      is not NULL, the PTP domain's time is known. Alternatively you can wait
      for this with gst_ptp_clock_wait_ready().
      
      To gather statistics about the PTP clock synchronization,
      gst_ptp_statistics_callback_add() can be used. This gives the
      application the possibility to collect all kinds of statistics
      from the clock synchronization.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=749391
      8d777598
  3. 28 Apr, 2015 1 commit
  4. 22 Apr, 2015 2 commits
  5. 24 Mar, 2015 1 commit
  6. 12 Mar, 2015 1 commit
  7. 23 Feb, 2015 1 commit
  8. 01 Feb, 2015 1 commit
  9. 21 Jan, 2015 1 commit
  10. 16 Dec, 2014 1 commit
    • Sebastian Rasmussen's avatar
      check: Have autotools generate internal-check.h · 0b09573b
      Sebastian Rasmussen authored
      Previously GStreamer got access to the libcheck interface by including
      libs/gst/check/check.h which in turn included internal-check.h in the
      same directory. internal-check.h was generated by copying
      libs/gst/check/libcheck/check.h which in turn was generated from
      check.h.in in the same directory. In this case generating
      libs/gst/check/libcheck/check.h is unnecessary, in addition this file
      was accidentally distributed in generated project tarballs.
      
      Now libs/gst/check/internal-check.h is generated directly from
      libs/gst/check/libcheck/check.h.in by configure. This means that the
      libcheck source must include internal-check.h instead of the previously
      generated libs/gst/check/libcheck/check.h. However the unnecessary
      intermediate step is now skipped.
      
      Fixes https://bugzilla.gnome.org/show_bug.cgi?id=741359
      0b09573b
  11. 06 Dec, 2014 1 commit
    • Sebastian Rasmussen's avatar
      check: Apply GStreamer-specific patches · 85c8b5d2
      Sebastian Rasmussen authored
      Reintroduced patches:
      
       * Make sure that fail_if(1) actually fails
         from commit 9f99d056
      
      New patches due to updated libcheck (based on 0.9.14):
      
       * Checks in m4/check-checks.m4 to cater for new dependencies
       * Conditional compile-time compat POSIX fallbacks for libcheck
       * Avoid relative paths for libcheck header files
       * Make timer_create() usage depend on posix timers, not librt
       * Rely on default AX_PTHREAD behavior to allow HAVE_PTHREAD to be used
         when checking for types and functions (like clock_gettime())
       * Avoid double declaration of clock_gettime() when availabe outside of
         librt by making compat clock_gettime() declaration conditional
       * check 0.9.9 renamed _fail_unless() and 0.9.12 later renamed it again
         to _ck_assert_failed(), so ASSERT_{CRITICAL,WARNING}() now calls this
         function
       * Remove libcheck fallback infrastructure for malloc(), realloc(),
         gettimeofday() and snprintf() since either they appear to be
         available or they introduce even more dependencies.
      
      The result is an embedded check in gstreamer that has been tested by
      running check tests in core, -base, -good, -bad, -ugly and rtsp-server
      on Linux, OSX and Windows.
      
      Fixes https://bugzilla.gnome.org/show_bug.cgi?id=727826
      85c8b5d2
  12. 30 Nov, 2014 1 commit
  13. 29 Sep, 2014 1 commit
  14. 19 Jul, 2014 2 commits
  15. 11 Jul, 2014 1 commit
  16. 28 Jun, 2014 1 commit
  17. 22 Jun, 2014 2 commits
  18. 21 May, 2014 2 commits
  19. 03 May, 2014 2 commits
  20. 24 Sep, 2013 3 commits
  21. 19 Sep, 2013 2 commits
  22. 28 Aug, 2013 2 commits
  23. 02 Aug, 2013 1 commit
  24. 29 Jul, 2013 2 commits
  25. 11 Jul, 2013 2 commits
  26. 05 Jun, 2013 2 commits
  27. 15 Apr, 2013 1 commit
    • Sebastian Dröge's avatar
      gst: Add better support for static plugins · 18a7a1d0
      Sebastian Dröge authored
      API: GST_PLUGIN_STATIC_DECLARE()
      API: GST_PLUGIN_STATIC_REGISTER()
      
      Based on a patch by Håvard Graff <havard.graff@tandberg.com>.
      
      This now allows GST_PLUGIN_DEFINE() to create a static plugin if
      GST_PLUGIN_BUILD_STATIC is defined. The resulting plugin can be
      statically linked or dynamically linked during compilation but
      can't be dynamically loaded during runtime.
      
      Also adds GST_PLUGIN_STATIC_DECLARE() and GST_PLUGIN_STATIC_REGISTER(),
      which allows to register a static linked plugin easily.
      It is still required to manually register every single statically linked
      plugin from inside the application as this can't be automated in a portable
      way.
      
      A new configure parameter --enable-static-plugins was added that allows
      to build all plugins we build here as static plugins.
      
      Fixes bug #667305.
      18a7a1d0
  28. 12 Apr, 2013 1 commit