1. 18 7月, 2019 1 次提交
  2. 15 7月, 2019 1 次提交
  3. 14 7月, 2019 1 次提交
  4. 11 7月, 2019 2 次提交
  5. 10 7月, 2019 2 次提交
  6. 08 7月, 2019 2 次提交
  7. 07 7月, 2019 1 次提交
  8. 02 7月, 2019 1 次提交
  9. 29 6月, 2019 1 次提交
  10. 25 6月, 2019 1 次提交
  11. 24 6月, 2019 2 次提交
    • J
      obs-ffmpeg: Move external headers to external dir · 8c54b7f3
      jp9000 提交于
      Prevents automatic formatting with clang-format
      8c54b7f3
    • J
      clang-format: Apply formatting · f53df7da
      jp9000 提交于
      Code submissions have continually suffered from formatting
      inconsistencies that constantly have to be addressed.  Using
      clang-format simplifies this by making code formatting more consistent,
      and allows automation of the code formatting so that maintainers can
      focus more on the code itself instead of code formatting.
      f53df7da
  12. 23 6月, 2019 1 次提交
  13. 11 6月, 2019 1 次提交
  14. 02 6月, 2019 1 次提交
  15. 30 5月, 2019 1 次提交
  16. 24 5月, 2019 1 次提交
    • J
      win-wasapi: Speaker enum fixes · 286e43bb
      James Park 提交于
      Remove KSAUDIO_SPEAKER_2POINT1 because it is included in the Windows
      SDK. (I'm guessing it wasn't before.)
      
      Redefine 4POINT1 as KSAUDIO_SPEAKER_SURROUND|SPEAKER_LOW_FREQUENCY
      instead of KSAUDIO_SPEAKER_QUAD|SPEAKER_LOW_FREQUENCY. See definitions:
      
      FFmpeg 4.1: FL+FR+FC+LFE+BC
      WASAPI QUAD: FL+FR+BL+BR (looks wrong)
      WASAPI SURROUND: FL+FR+FC+BC
      WASAPI LOW_FREQUENCY: LFE
      286e43bb
  17. 19 5月, 2019 2 次提交
  18. 18 5月, 2019 1 次提交
  19. 17 5月, 2019 1 次提交
    • J
      libobs: Fix lockup when an encode call fails · 973d31b8
      jp9000 提交于
      (This commit also modifies the UI, obs-ffmpeg, and obs-output modules)
      
      Fixes a long-time regression where the program would lock up if an
      encode call fails.  Shuts down all outputs associated with the failing
      encoder and displays an error message to the user.
      
      Ideally, it would be best if a more detailed error could be displayed to
      the user about the nature of the error, though the primary problem is
      the encoder errors are typically not something the user would be able to
      understand.  The current message is a bit of a generic error message;
      improvement is welcome.
      
      Another suggestion is to try to have the encoder restart seamlessly,
      though it would take a significant amount of work to be able to make it
      do something like that properly, and it sort of assumes that encoder
      failures are sporadic, which may not necessarily be the case with some
      hardware encoders on some systems.  It may be better just to use another
      encoder in that case.  For now, seamless restart is ruled out.
      973d31b8
  20. 12 5月, 2019 1 次提交
  21. 10 5月, 2019 3 次提交
  22. 09 5月, 2019 1 次提交
    • J
      libobs: Fix various alpha issues · ba21fb94
      James Park 提交于
      There are cases where alpha is multiplied unnecessarily. This change
      attempts to use premultiplied alpha blending for composition.
      
      To keep this change simple, The filter chain will continue to use
      straight alpha. Otherwise, every source would need to modified to output
      premultiplied, and every filter modified for premultiplied input.
      
      "DrawAlphaDivide" shader techniques have been added to convert from
      premultiplied alpha to straight alpha for final output. "DrawMatrix"
      techniques ignore alpha, so they do not appear to need changing.
      
      One remaining issue is that scale effects are set up here to use the
      same shader logic for both scale filters (straight alpha - incorrectly),
      and output composition (premultiplied alpha - correctly). A fix could be
      made to add additional shaders for straight alpha, but the "real" fix
      may be to eliminate the straight alpha path at some point.
      
      For graphics, SrcBlendAlpha and DestBlendAlpha were both ONE, and could
      combine together to form alpha values greater than one. This is not as
      noticeable of a problem for UNORM targets because the channels are
      clamped, but it will likely become a problem in more situations if FLOAT
      targets are used.
      
      This change switches DestBlendAlpha to INVSRCALPHA. The blending
      behavior of stacked transparents is preserved without overflowing the
      alpha channel.
      
      obs-transitions: Use premultiplied alpha blend, and simplify shaders
      because both inputs and outputs use premultiplied alpha now.
      
      Fixes https://obsproject.com/mantis/view.php?id=1108
      ba21fb94
  23. 05 5月, 2019 1 次提交
  24. 03 5月, 2019 2 次提交
  25. 02 5月, 2019 2 次提交
    • C
      31b73f80
    • J
      UI: Remove mac browser workarounds, improve stability · f21a48ff
      jp9000 提交于
      The workarounds were made because of conflicts with running multiple UI
      threads at once on macOS, which macOS can't do very well, and would be
      susceptible to crashes.  This would cause crashes not only on startup
      but seemingly at random when using the browser source on macOS.  The
      original "fix" was a hack to try to minimize UI code and browser UI code
      from executing at the same time.  The macOS initial scene loading was
      deferred until all Qt-related and main window initialization was
      completed.  Although this worked to some extent to prevent conflicts, it
      made it so that there was an initial period on startup where the entire
      UI seemed "blank" for users, and it was still possible for the main UI
      thread and the browser UI thread to clash, causing crashes seemingly at
      random for users.
      
      The external message pump method of CEF is the solution to the problem,
      which is the method which allows the main UI thread to share events with
      CEF.  To do this, all CEF operations need to be performed in the UI
      thread (Qt's main thread), and CefDoMessageLoopWork() needs to be called
      when CefApp::OnScheduleMessagePumpWork callback is triggered.  A number
      of other issues had to be solved as well, such as CefBrowser references
      getting "stuck" in the Qt event queue.
      
      With this, macOS no longer needs to do the "deferred load" hack, and
      browsers are now much more stable and no longer as susceptible to
      seemingly random crashes, improving overall program stability when
      browsers are used.
      f21a48ff
  26. 30 4月, 2019 1 次提交
  27. 27 4月, 2019 1 次提交
    • J
      obs-ffmpeg: Move ffmpeg-mux to executable dir · 0677fe2b
      jp9000 提交于
      Instead of having ffmpeg-mux stored in a data directory, install it to
      the primary binary directory.  On windows, this fixes ffmpeg-mux
      potentially accessing the wrong FFmpeg libraries (some programs install
      them to system32, foolishly), and instead ensures that it uses the ones
      that come with the program.  On Linux, ensures that a binary is in its
      appropriate directory (/usr/bin or /usr/local/bin rather than a subset
      of /usr/share or /usr/local/share).
      0677fe2b
  28. 26 4月, 2019 4 次提交
    • J
      obs-filters: Use int sliders for opacity · 0800c8cb
      jp9000 提交于
      This changes all opacity scrollers for filters to sliders + scrollers.
      
      Reference: obsproject/obs-studio#1827
      0800c8cb
    • J
      obs-filters: Fix opacity on image mask/blend filter · 71f9900e
      jp9000 提交于
      The alpha value from the opacity slider was being overwritten.
      
      Closes obsproject/obs-studio#1827
      71f9900e
    • J
      libobs: Support limited color range for RGB/Y800 sources · a86710ec
      James Park 提交于
      libobs: Add support for limited to full color range conversions when
      using RGB or Y800 formats, and move RGB converison for Y800 formats to
      the GPU.
      
      decklink: Stop hiding color space/range properties for RGB formats, and
      remove "YUV" from "YUV Color Space" and "YUV Color Range".
      
      win-dshow: Remove "YUV" from "YUV Color Space" and "YUV Color Range".
      
      UI: Remove "YUV" from "YUV Color Space" and "YUV Color Range".
      a86710ec
    • J
      decklink, win-dshow: Use obs_source_output_video2 · 7d136c3c
      jp9000 提交于
      Allows the ability to override and use partial range RGB with the
      DirectShow and Decklink device sources when partial range RGB is
      implemented.  Fixes certain cases where devices could capture RGB in
      limited range via HDMI (per the HDMI specs).
      7d136c3c