1. 16 7月, 2018 1 次提交
    • J
      libobs: Remove group_sceneitem from obs_scene struct · 35704c4c
      jp9000 提交于
      (This commit also modifies UI)
      
      Removes obs_scene::group_sceneitem and replaces it with
      obs_scene::is_group.  Changes a number of other functions related to
      groups so that a group is not inherently tied to a specific scene, and
      helps allow a single group to be referenced in multiple scenes if
      desired.
      35704c4c
  2. 02 7月, 2018 5 次提交
  3. 05 6月, 2018 1 次提交
  4. 04 6月, 2018 8 次提交
  5. 03 6月, 2018 1 次提交
  6. 10 1月, 2018 1 次提交
    • J
      libobs: Fix audio issue with scene items · a79992ea
      jp9000 提交于
      When a scene is added as a scene item with the same audio sources that
      are already in the current scene, it would cause the current scene to no
      longer output audio due to audio.
      
      To replicate the issue, you would create two separate audio device
      captures in scene 1, use add existing in scene 2 and add one of those
      audio sources, then go back to scene 1, add scene 2 as a source, then
      make scene 1 invisible.
      a79992ea
  7. 05 1月, 2018 1 次提交
  8. 30 11月, 2017 1 次提交
  9. 14 9月, 2017 1 次提交
  10. 11 8月, 2017 1 次提交
  11. 21 7月, 2017 2 次提交
    • D
      libobs: Fix item copying during scene duplication · 2a53d03d
      Dmitry Odintsov 提交于
      When item in the old scene had only Scale Filter, texture renderer
      was not created for an item in the new scene. However if the item also
      had Crop set, the texture renderer was created.
      
      Now after copying the data, texture renderer is created for the item in
      the new scene when needed.
      
      Closes jp9000/obs-studio#969
      2a53d03d
    • M
      libobs: Ensure scene items don't have pre-multiplied alpha · f8b14bdb
      Michael Fabian Dirks 提交于
      Scene items would incorrectly have pre-multiplied alpha when they were
      scaled with different scale filtering, when they were cropped, or when
      the item itself was a scene.  This happens because the scene renders the
      items to a texture in those cases, and when they are rendered to a
      texture the blend function would be the default srcalpha/invsrcalpha
      blend function, which would cause alpha to become pre-multiplied in the
      texture's result rather than straight alpha.
      
      This changes the behavior to directly copy the color/alpha to the
      texture using the one/zero blend function instead, which makes the
      resulting texture straight alpha.  (Note that you do not want to turn
      off the blend mode for the same result because certain sources can have
      custom drawing that may rely on blending being available)
      
      Related Issue: https://obsproject.com/mantis/view.php?id=954
      
      Closes jp9000/obs-studio#966
      f8b14bdb
  12. 28 6月, 2017 1 次提交
  13. 15 5月, 2017 1 次提交
    • J
      libobs: Add scene item IDs · 2c74fc36
      jp9000 提交于
      Adds a method of uniquely identifying scene items, as well as finding
      those scene items via that unique ID.
      2c74fc36
  14. 27 2月, 2017 1 次提交
  15. 25 2月, 2017 1 次提交
  16. 17 1月, 2017 1 次提交
  17. 16 1月, 2017 1 次提交
  18. 22 12月, 2016 1 次提交
    • J
      libobs: Process all scene audio actions if no audio playing · e7113753
      jp9000 提交于
      When there are audio sources in a scene and they've all stopped playing
      their audio (audio is pending), all scene item audio actions (volume
      changes, toggling visibility) will perpetually buffer and no longer be
      processed until audio plays again.
      
      So instead of that, if all audio sources have stopped playing in the
      scene, just process all pending scene item audio actions immediately to
      prevent them from never being processed while waiting for a scene item
      to start playing audio.
      e7113753
  19. 09 7月, 2016 1 次提交
  20. 02 7月, 2016 1 次提交
  21. 29 6月, 2016 2 次提交
    • J
      libobs: Use strings instead of enums when saving scale data · 364cb9fb
      jp9000 提交于
      Saves the scene item scale filters as strings instead of enums.  It's
      important to save data in a form that won't break if an API enum
      changes.
      364cb9fb
    • J
      libobs: Add ability to use scale filters on scene items · d4983383
      jp9000 提交于
      Allows the ability to use scale filters such as point, bicubic, lanczos
      on specific scene items, disabled by default.  When using one of the
      latter two options, if the item's scale is under half of the source's
      original size, it uses the bilinear low resolution downscale shader
      instead.
      d4983383
  22. 01 4月, 2016 1 次提交
  23. 31 3月, 2016 2 次提交
  24. 05 2月, 2016 1 次提交
  25. 27 1月, 2016 2 次提交