1. 19 5月, 2019 5 次提交
  2. 18 5月, 2019 2 次提交
  3. 17 5月, 2019 3 次提交
    • M
      UI: Remove 5 file limit for drag & drop · c280e620
      Michael Fabian Dirks 提交于
      c280e620
    • 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
    • J
      Merge pull request #1883 from WizardCM/dark-fixes · 19aca120
      Jim 提交于
      UI: Dark theme consistency for Scenes vs Sources
      19aca120
  4. 16 5月, 2019 1 次提交
  5. 14 5月, 2019 5 次提交
  6. 13 5月, 2019 4 次提交
  7. 12 5月, 2019 2 次提交
  8. 10 5月, 2019 15 次提交
  9. 09 5月, 2019 3 次提交
    • J
      Merge pull request #1852 from jpark37/blend-alpha-attempt-two · 4991113a
      Jim 提交于
      libobs: libobs-d3d11: Fix alpha blend
      4991113a
    • 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
    • J
      Merge pull request #1819 from Xaymar/patch-add-effect-debug-info · c396a30d
      Jim 提交于
      libobs: Add additional effect debugging information
      c396a30d