1. 30 1月, 2021 3 次提交
  2. 29 1月, 2021 1 次提交
    • K
      libobs: Fix leaking obs-internal.h · 5efb10a5
      Kurt Kartaltepe 提交于
      Removes prior attempt to expose libcaption headers which really shouldnt
      have public. This instead moves the obs-internal include out of the
      public obs-scene.h and into it's implementation.
      5efb10a5
  3. 27 1月, 2021 2 次提交
  4. 26 1月, 2021 1 次提交
  5. 25 1月, 2021 1 次提交
  6. 23 1月, 2021 1 次提交
  7. 21 1月, 2021 4 次提交
    • J
      libobs: Final downsample with SRGB formats · 71bd5860
      jpark37 提交于
      71bd5860
    • J
      libobs: Deinterlace as linear SRGB when needed · 9e66a4d1
      jpark37 提交于
      9e66a4d1
    • J
      libobs: Update render_item to enable linear SRGB · 72efe8b9
      jpark37 提交于
      Does nothing without linear-aware modifications to sources.
      72efe8b9
    • J
      libobs: Add dormant SRGB format support · 66259560
      jpark37 提交于
      GS_RGBA, GS_BGRX, and GS_BGRA now use TYPELESS DXGI formats, so we can
      alias them between UNORM and UNORM_SRGB as necessary. GS_RGBA_UNORM,
      GS_BGRX_UNORM, and GS_BGRA_UNORM have been added to support straight
      UNORM types, which Windows requires for sharing textures from D3D9 and
      OpenGL. The D3D path aliases via views, and GL aliases via
      GL_EXT_texture_sRGB_decode/GL_FRAMEBUFFER_SRGB.
      
      A significant amount of code has changed in the D3D/GL backends, but the
      concepts are simple. On the D3D side, we need separate SRVs and RTVs to
      support nonlinear/linear reads and writes. On the GL side, we need to
      set the proper GL parameters to emulate the same.
      
      Add gs_enable_framebuffer_srgb/gs_framebuffer_srgb_enabled to set/get
      the framebuffer as SRGB or not.
      
      Add gs_linear_srgb_active/gs_set_linear_srgb to instruct sources that
      they should render as SRGB. Legacy sources can ignore this setting
      without regression.
      
      Update obs_source_draw to use linear SRGB as needed.
      
      Update render_filter_tex to use linear SRGB as needed.
      
      Add gs_effect_set_texture_srgb next to gs_effect_set_texture to set
      texture with SRGB view instead.
      
      Add SRGB helpers for vec4 struct.
      
      Create GDI-compatible textures without SRGB support. Doesn't seem to
      work with SRGB formats.
      66259560
  8. 19 1月, 2021 1 次提交
    • R
      libobs: Add os_is_obs_plugin function · 900b5341
      Richard Stanway 提交于
      This function determines if something is an OBS plugin before attempting
      to load it. On Windows, many plugins ship their dependent DLLs alongside
      the plugin DLL, so OBS would load things like libcef.dll on startup only
      to immediately free it. For other platforms, this is less of a concern
      so this function is a no-op for now.
      
      This improves startup time and reduces risk from dependent DLLs
      potentially running code with unwanted side effects in DllMain.
      900b5341
  9. 17 1月, 2021 1 次提交
  10. 13 1月, 2021 1 次提交
  11. 12 1月, 2021 3 次提交
  12. 09 1月, 2021 1 次提交
  13. 04 1月, 2021 1 次提交
  14. 02 1月, 2021 2 次提交
  15. 01 1月, 2021 1 次提交
  16. 31 12月, 2020 1 次提交
  17. 22 12月, 2020 1 次提交
  18. 19 12月, 2020 1 次提交
  19. 13 12月, 2020 1 次提交
    • H
      linux-pulseaudio: fix race conditions · a5d08e34
      Hector Martin 提交于
      PulseAudio code needs to be called with the PA lock held. This chiefly
      fixes multiple races during stream shutdown:
      
      * If the functions are called without the lock held, deferred event
        handling races end up with PA infinite looping on the mainloop, or
        asserting, or other badness, as the reentrant calls cause data
        structure corruption on the PA side.
      * If we don't reset our callbacks, PA might call us even after we
        request stream disconnection (since the stream actually getting fully
        shut down is asynchronous), and then we dereference NULL pointers from
        our userdata etc. PA will keep its data structures alive until necessary
        via reference counting, but not ours.
      
      The lock around pa_stream_begin_write doesn't result from any issues I
      experienced, but it looks correct; PA doesn't say anywhere that that
      function is thread-safe.
      a5d08e34
  20. 10 12月, 2020 1 次提交
    • H
      libobs: fix the pending stop trick · df4eb821
      Hector Martin 提交于
      Regression introduced by dc4e2050: while the stop detection is pending,
      it should still return false so the rest of the discard code can run.
      Otherwise, the source audio will remain in the buffer, lagging the
      source and triggering audio buffering increases until max audio
      buffering is reached.
      df4eb821
  21. 09 12月, 2020 1 次提交
  22. 03 12月, 2020 1 次提交
  23. 25 11月, 2020 1 次提交
  24. 22 11月, 2020 1 次提交
  25. 15 11月, 2020 1 次提交
  26. 14 11月, 2020 1 次提交
    • J
      libobs: Change service max res. to res. list · ebbe8d1b
      jp9000 提交于
      (This commit also modifies rtmp-services and UI)
      
      Changes the maximum resolution size to a resolution list, and splits the
      maximum FPS to its own function.
      
      (Note: ABI has not been modified because the last changes still haven't
      been released yet, so it's safe to modify this as long as the changes
      haven't been officially released)
      ebbe8d1b
  27. 12 11月, 2020 1 次提交
    • J
      libobs: Implement obs_service func to get max bitrates · fb7747c5
      jp9000 提交于
      (This commit also modifies rtmp-services)
      
      Implements obs_service_get_max_bitrate, which allows retrieving the
      maximum audio/video bitrates directly rather than being forced to use
      the apply method. Makes it a bit easier to get the bitrate values.
      fb7747c5
  28. 04 11月, 2020 2 次提交
  29. 03 11月, 2020 1 次提交
  30. 02 11月, 2020 1 次提交