1. 14 1月, 2021 2 次提交
  2. 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
  3. 12 1月, 2021 15 次提交
  4. 09 1月, 2021 8 次提交
  5. 08 1月, 2021 4 次提交
  6. 07 1月, 2021 1 次提交
  7. 04 1月, 2021 3 次提交
    • J
      dffa8221
    • H
      linux-jack: fix deadlock when closing the client · 9616b790
      Hector Martin 提交于
      This lock causes a deadlock when freeing the JACK client while a
      process callback is pending:
      
      deactivate_jack -> locks mutex
         JACK thread -> calls jack_process_callback
         jack_process_callback -> blocks on mutex
      jack_client_close -> joins JACK thread
      (deadlock as the process callback never returns)
      
      Instead, just don't lock the mutex. This is only mutexing on
      creation/destruction of the JACK client. This is not necessary: the
      process callback will only run after jack_activate (which is right
      before the mutex is released in jack_init()), and will stop running
      by the time jack_client_close returns. We don't actually need to
      unregister any ports, so just call jack_client_close first thing in
      deactivate_jack, which will guarantee the process callback has
      completed before returning.
      
      In fact, jack_process_callback isn't allowed to lock any mutexes or
      allocate any memory at all, so this plug-in is still broken in this way
      as obs_source_output_audio does that. This can cause audio xruns, as
      realtime guarantees are violated. This is something that should be
      fixed in the future, but at least it's not a deadlock.
      9616b790
    • H
      linux-jack: mark ports as JackPortIsTerminal · 5d6bca0f
      Hector Martin 提交于
      Ports which do not feed audio back into JACK should be marked as terminal.
      This allows latency compensation to work properly.
      5d6bca0f