1. 11 3月, 2021 1 次提交
    • R
      cmake: Require Qt if UI is enabled · dfe2f409
      Ryan Foster 提交于
      In CMakeLists.txt, FIND_MODE is not defined here. This was moved from
      UI/CMakeLists.txt in commit cb4d2ff7. In
      UI/CMakeLists.txt, FIND_MODE is REQUIRED if DISABLE_UI is false or
      undefined and ENABLE_UI is true. Since the same booleans are required
      for the if-else branch in CMakeLists.txt where we try to find Qt, we can
      set find_package to REQUIRED here as well.
      dfe2f409
  2. 10 3月, 2021 2 次提交
  3. 09 3月, 2021 9 次提交
  4. 08 3月, 2021 6 次提交
  5. 06 3月, 2021 1 次提交
  6. 05 3月, 2021 5 次提交
  7. 02 3月, 2021 3 次提交
  8. 01 3月, 2021 5 次提交
    • P
      mac-virtualcam: DAL PlugIn check for custom png file · bc3decc8
      pedanticdan 提交于
      bc3decc8
    • D
      mac-vth264: Clean up encoder list · 6a9f25c8
      Doug Kelly 提交于
      When enumerating the list of encoders offered by VideoToolbox,
      there's no reason we can't use the returned ID, which allows us to
      remove the hardware/software encoder specific functions. At the
      same time, this does add a slight complexity when localizing the
      encoder name, so we can fall back to the OS-provided encoder name
      if there's not a match.
      6a9f25c8
    • D
      cmake: Remove pagezero_size from linker options · 437ba31c
      Doug Kelly 提交于
      Previous versions of LuaJIT required setting linker options
      -pagezero_size and -image_base.  This was accomplished in commit
      c9224edb, but as of LuaJIT 2.1, this is no longer necessary, and
      doing so results in the application being killed when run natively
      on macOS ARM targets.
      437ba31c
    • D
      mac-capture: Adjust mHostTime to milliseconds · 5d711ebb
      Doug Kelly 提交于
      The timestamp returned by mHostTime in the AudioTimeStamp structure
      is the current timestamp equivalent to mach_absolute_time(), which
      is relative to the machine's time base. In order to convert this
      to milliseconds, it's necessary to get the host's timebase with
      mach_timebase_info() and scale the timestamp accordingly, since
      the rest of the timestamp synchronization code expects the timestamp
      to be in milliseconds.
      
      This is effectively equivalent to the code which was previously in
      libobs/util/platform-coca.m, but must be applied here instead.
      5d711ebb
    • D
      libobs: use clock_gettime_nsec_np() for macOS · 4ab5a3be
      Doug Kelly 提交于
      macOS should use the function clock_gettime_nsec_np() to get the
      current clock in nanoseconds, instead of manually using
      mach_absolute_time() and manually adjusting the timebase. This
      greatly simplifies the platform-specific code to manage the
      current time in nanoseconds.
      4ab5a3be
  9. 28 2月, 2021 1 次提交
  10. 27 2月, 2021 1 次提交
  11. 26 2月, 2021 3 次提交
    • G
      libobs/util: Split bus name from interface · 7f27963c
      Georges Basile Stavracas Neto 提交于
      When calling D-Bus methods, three fields are required:
      
       * The bus name, which is what applications own when they
         want to expose themselves to D-Bus;
      
       * The object path, which represents a D-Bus object exported
         under a bus name;
      
       * The interface, which holds the methods and signals;
      
      While out of pure coincidence all the D-Bus buses have a
      matching interface name, it is technically incorrect to assume
      that.
      
      Add a new 'interface' field to service_info, and split the bus
      name.
      7f27963c
    • G
      libobs/util: Replace libdbus by GDBus · ec1b07cc
      Georges Basile Stavracas Neto 提交于
      GDBus is more and better maintained than libdbus these days. In the
      future, a potential Wayland-compatible capture plugin will need to
      interact with D-Bus in a way that's way too complicated for libdbus,
      and it won't be nice to have both libraries talking to the D-Bus
      socket.
      
      Replace the libdbus usage by GDBus. As it turns out, it results in less
      code.
      ec1b07cc
    • G
      libobs/util: Rename struct field 'id' to 'cookie' · 94d21669
      Georges Basile Stavracas Neto 提交于
      All D-Bus interfaces call the unique identifier that is returned by their
      calls "cookie", so rename the 'id' field to 'cookie' to match that.
      94d21669
  12. 22 2月, 2021 3 次提交