1. 19 2月, 2020 1 次提交
    • J
      libobs: Add obs_encoder_scaling_enabled() · de363d3e
      jp9000 提交于
      Returns whether rescaling is enabled for an encoder.  This will be used
      with texture-based encoders to determine whether to fall back to
      RAM-based encoding instead.
      de363d3e
  2. 13 2月, 2020 2 次提交
  3. 10 2月, 2020 1 次提交
  4. 08 2月, 2020 4 次提交
    • I
      libobs: fix obs_sceneitem_group_XXX_item API · 9f035e43
      Ilya Melamed 提交于
      `obs_sceneitem_group_add_item` and `obs_Sceneitem_group_remove_item`
      were leaving the affected scene in an inconsistent state.
      
      To resolve, simplify and make the code more readable, we replace the
      manual linked lists mutation with existing `detach_sceneitem` and
      `attach_sceneitem` calls.
      9f035e43
    • J
      libobs: Add group functions that can signal refresh · 99e63901
      jp9000 提交于
      Adds API:
      obs_scene_add_group2
      obs_scene_insert_group2
      obs_sceneitem_group_ungroup2
      
      These functions should be used by plugins if they need to use these
      functions and need to send a refresh signal.  If a major API rework ever
      happens the old functions should be removed.  The old functions should
      eventually be deprecated.
      
      The reason why specifying a 'signal' parameter is useful is because it's
      a bit more seamless for the user interface to be able to have custom
      handling of these specific cases.  It looks better and doesn't require
      completely erasing/recreating the entire list, which is visually
      unappealing.
      99e63901
    • J
      libobs: Make group subitem add/remove funcs signal refresh · 93e2aa1d
      jp9000 提交于
      Fixes a bug where the UI would not know that a group had been updated.
      93e2aa1d
    • J
      libobs: Add refresh signal to scenes · 6d0ef756
      jp9000 提交于
      This signal is used to specify when a scene needs a full refresh of its
      item list.
      6d0ef756
  5. 07 2月, 2020 2 次提交
  6. 03 2月, 2020 1 次提交
    • V
      libobs/util: Fix incorrect assertion in darray_insert_array · d1b6a04a
      VodBox 提交于
      Previously the assertion required the idx to be smaller than the number
      of elements in the darray. This would mean you could not insert anything
      at the end of a darray, and would make it impossible to insert an array
      into an empty darray.
      d1b6a04a
  7. 31 1月, 2020 1 次提交
  8. 28 1月, 2020 1 次提交
  9. 22 1月, 2020 2 次提交
  10. 21 1月, 2020 1 次提交
  11. 19 1月, 2020 2 次提交
  12. 15 1月, 2020 1 次提交
    • J
      libobs: Add the ability to make sources obsolete · 70582174
      jp9000 提交于
      This allows the ability to do things such as change defaults or
      properties of sources without necessarily breaking older user
      configurations that had older defaults or properties.
      70582174
  13. 13 1月, 2020 1 次提交
  14. 05 1月, 2020 2 次提交
    • J
      libobs: Log windows release version · eadb96fb
      jp9000 提交于
      This logs the Windows release version (e.g. 1809, 1903, etc)
      eadb96fb
    • J
      libobs: Find windows version · de3de2a2
      jp9000 提交于
      This uses three methods of obtaining the actual windows version,
      RtlGetVersion which is the ntdll version of GetVersionEx that bypasses
      the manifest check garbage, looking up the file version of a file that
      is most likely to be updated per windows version (ntoskrnl), and the
      registry.  Of the three values, it chooses the highest windows version
      obtained by the three.
      
      Closes obsproject/obs-studio#2294
      de3de2a2
  15. 04 1月, 2020 1 次提交
  16. 30 12月, 2019 1 次提交
  17. 28 12月, 2019 2 次提交
    • J
      libobs: Add manual transition "torque" support · 2d35f863
      jp9000 提交于
      Allows the ability for manual transitioning to smoothly flow
      (interpolate) to the intended transition point over a short period of
      time rather than simply setting a hard transition point number.  Doing
      this allows manual transitioning to occur more smoothly, and in a more
      visually pleasant way.
      2d35f863
    • C
      libobs: Add manual transitioning support (T-bar) · a97039db
      Clayton Groeneveld 提交于
      Allows the ability to manually specify the transitioning point so the
      user can transition at a custom rate, usually done by a device that can
      be used as a T-bar
      Co-authored-by: NJim <obs.jim@gmail.com>
      a97039db
  18. 22 12月, 2019 1 次提交
    • M
      libobs: Fix corrupted pointers when removing properties · 77f1b05d
      Michael Fabian 'Xaymar' Dirks 提交于
      When obs_properties_remove_by_name is called on any obs_properties_t*,
      it corrupts the pointers for first_property and last which end up
      pointing at either unallocated memory or randomly into the heap memory.
      Neither of these is a good thing, and it usually leads to rapid
      unscheduled program behavior, also known as crashing and security
      issues.
      
      This fixes the issue by first checking if the pointer stored in
      props->last is identical to &cur->next, then checking if we are the
      only element (cur is also prev element), and if we are then the pointer
      is fixed to point back at props->first_property. Additionally fixes
      props->first_property which was never updated either.
      77f1b05d
  19. 18 12月, 2019 1 次提交
  20. 16 12月, 2019 1 次提交
  21. 14 12月, 2019 1 次提交
  22. 11 12月, 2019 1 次提交
  23. 10 12月, 2019 1 次提交
  24. 06 12月, 2019 1 次提交
  25. 29 11月, 2019 1 次提交
  26. 28 11月, 2019 1 次提交
  27. 26 11月, 2019 2 次提交
  28. 25 11月, 2019 2 次提交
  29. 18 11月, 2019 1 次提交