1. 21 1月, 2021 1 次提交
    • 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
  2. 20 1月, 2021 1 次提交
  3. 19 1月, 2021 5 次提交
  4. 18 1月, 2021 7 次提交
  5. 17 1月, 2021 2 次提交
  6. 16 1月, 2021 5 次提交
  7. 14 1月, 2021 4 次提交
  8. 13 1月, 2021 7 次提交
    • M
      UI: Only apply passthrough DPI scaling on Windows · 46118470
      Matt Gajownik 提交于
      Fixes #4031
      
      It seems Qt on various flavours of Linux behaves erratically when scaled,
      and for the moment macOS doesn't require fractional scaling support.
      
      This commit can be reverted when Qt fixes issues on their side.
      46118470
    • M
      obs-ffmpeg: Always fully restart remote media sources · 96c7790d
      Meng Li 提交于
      When a media source is set to use a URL, always fully shut down the
      media when stopped. This ensures that the media will do a full
      reconnect after having been stopped.
      96c7790d
    • R
      ftl-stream: Fix reconnect loop on FTL ingest disconnect · 7029304b
      Roman Sivriver 提交于
      When connection to FTL ingest is lost, ftl_event() calls
      obs_output_signal_stop() to trigger a reconnect. However, during the
      reconnect delay, send_thread is still waiting on send_sem semaphore.
      After the delay, ftl_stream_start() is called, which in turn resets
      the semaphore and creates a new send_thread. Old send_thread now exits
      the loop and triggers another reconnect and the whole process repeats
      again. The fix resets the semaphore in ftl_event() so the old
      send_thread exits immediately.
      7029304b
    • C
      rtmp-services: Add Glimesh service · 64164a15
      clone1018 提交于
      64164a15
    • T
      libobs: Cleanup uses of objc_msgSend in Objective-C code · 7852efcb
      Theodore Dubois 提交于
      Also remove use of deprecated [NSProcessInfo operatingSystem]. It always
      returns the NSMACHOperatingSystem.
      
      Also stop parsing [NSProcessInfo operatingSystemVersionString]. The
      documentation explicitly says "not for parsing".
      7852efcb
    • J
      UI: Fix crash when no audio backends are available · 41367bb2
      Jimi Huotari 提交于
      This commit prevents a crash in, for example, Linux configurations
      where PulseAudio is disabled, which leads into 'mod' being 'null',
      which in turn leads into a segmentation fault when an ALSA source
      is selected.
      
      Closes https://github.com/obsproject/obs-studio/issues/3485
      41367bb2
    • P
      linux-v4l2: Improve error and debug logging · bb264b2b
      Piotr Esden-Tempski 提交于
      The capture loop errors are now logged as such.
      Increased the amount of information logged in debug mode, including
      state of all buffers on timeout.
      Add device name to all capture loop debug output, especially useful when
      debugging issues with multiple v4l2 video streams.
      bb264b2b
  9. 12 1月, 2021 8 次提交