1. 10 4月, 2015 2 次提交
    • J
      libobs: Add functions to disable main preview · 1a9c512f
      jp9000 提交于
      If you don't need to see what's displayed, then this is particularly
      useful for two reasons:
      1. It reduces the number of draw/present calls
      2. It can prevent issues with certain hardware setups where rendering on
         a monitor hooked up to a separate card can experience slowdowns
      1a9c512f
    • J
      libobs: Add ability to disable displays · ebfe477c
      jp9000 提交于
      Sometimes it can be useful to turn off rendering to the display in order
      to reduce the number of draw calls and present calls.
      ebfe477c
  2. 08 4月, 2015 1 次提交
    • F
      UI: Fix precision in float comparison helper · 9cc56f25
      fryshorts 提交于
      Use std::abs instead of abs to avoid loss in precision and also fix
      the corresponding warning from clang (3.5.0):
      
      warning: using integer absolute value function 'abs' when argument is
      of floating point type [-Wabsolute-value]
      
      Closes jp9000/obs-studio#414
      9cc56f25
  3. 06 4月, 2015 2 次提交
  4. 05 4月, 2015 1 次提交
  5. 04 4月, 2015 4 次提交
  6. 03 4月, 2015 3 次提交
    • J
      mac-capture: Get cursor visible setting on create · 35a4aced
      jp9000 提交于
      When display capture is created, the hide_cursor variable is not
      initialized, so just initialize it to the setting in the create
      function.
      35a4aced
    • J
      mac-capture: Fix display capture cursor bug · a892fa9e
      jp9000 提交于
      The kCGDisplayStreamShowCursor option used with the dictionary does not
      work if you assign @true or @false to it.  After some testing, it needs
      to point to the id cast of either kCFBooleanTrue or kCFBooleanFalse in
      order for it to work properly.
      
      If it doesn't use either of those values, the display stream seems to
      use its internal default, which on 10.8 and 10.9 is visible, and 10.10+
      is invisible, which would explain why people on 10.10 couldn't get the
      cursor to capture.
      a892fa9e
    • W
      NixOS installation instructions · a2acfd7f
      William Casarin 提交于
      a2acfd7f
  7. 01 4月, 2015 2 次提交
  8. 31 3月, 2015 13 次提交
  9. 30 3月, 2015 2 次提交
    • J
      obs-ffmpeg: Fix spurious bad channel layout · fc596f61
      John Bradley 提交于
      Some formats (like WMV) would send out audio packets that
      had channels set but did not specify a channel layout.
      Solution is to no longer rely on channel layout to get the
      channels and just get the channel count directly off the
      FFmpeg audio frame.
      fc596f61
    • M
      FSF address · c8a07533
      MedicMomcilo 提交于
      Address for FSF was wrong, corrected
      c8a07533
  10. 28 3月, 2015 7 次提交
    • J
      UI: Fix crash log handling · d42a7ce6
      jp9000 提交于
      Using Qt to handle crash dialogs is too unstable, so better to just use
      the windows API directly and display a windows message box just to be
      safe.
      d42a7ce6
    • J
      UI: Fix bug with enforced audio encoder settings · 0d704cdf
      jp9000 提交于
      I forgot that the track index is 1-based, not 0-bsaed.
      0d704cdf
    • J
      UI: Only apply service settings to stream encoder · 3bbefc5b
      jp9000 提交于
      All audio encoders are currently having the service-specific settings
      applied to them, so this makes it so that it checks which track the
      stream is set to and only applies it to that specific encoder.
      3bbefc5b
    • J
      Update to 0.9.1 · 99060e5b
      jp9000 提交于
      99060e5b
    • J
      libobs: Use default blend state with scenes · c7e18783
      jp9000 提交于
      Instead of manually setting the blend state to the desired values, use
      gs_reset_blend_state to ensure we have the default blend state (which
      for color is a typical srcalpha/invsrcalpha alpha blending operation,
      then the alpha channels are added together).
      
      This fixes an issue where filtered scenes would look strange due to the
      fact that alpha was not being blended properly.
      c7e18783
    • J
      Add gs_blend_function_separate · be52fa26
      jp9000 提交于
      This allows the ability to separate the blend states of color and alpha.
      
      The default blend state has also changed so that alpha is always added
      together to ensure that the destination image always gets an alpha value
      that is actually usable after the operation (for render targets).
      
      Old default state:
        color source: GS_BLEND_SRCALPHA, color dest: GS_BLEND_INVSRCALPHA
        alpha source: GS_BLEND_SRCALPHA, alpha dest: GS_BLEND_INVSRCALPHA
      
      New default state:
        color source: GS_BLEND_SRCALPHA, color dest: GS_BLEND_INVSRCALPHA
        alpha source: GS_BLEND_ONE,      alpha dest: GS_BLEND_ONE
      be52fa26
    • J
      libobs: Clear current async frame if cache freed · 95f5a3c2
      jp9000 提交于
      If the cache is freed the current async frame will of course become
      invalid, so make sure it's set to null if the cache is freed.
      95f5a3c2
  11. 27 3月, 2015 3 次提交
    • J
      libobs: Deallocate lingering unused cache frames · 3a90be39
      jp9000 提交于
      This fixes an issue where cache frames would not free at all after
      having been allocated with no upper limit on the cached frame size.  If
      cached frames go unused for a specific period of time, they are
      deallocated and removed from the cache.
      
      This is preferable to having an upper cache limit due to the potential
      for async delay filtering.
      3a90be39
    • J
      Revert "libobs: Fix memory leak (Enforce cache limit)" · f03e66fc
      jp9000 提交于
      This reverts commit 4459ed3e.
      f03e66fc
    • J
      libobs: Fix memory leak (Enforce cache limit) · 4459ed3e
      jp9000 提交于
      Under certain circumstances the cache could be prone to growing too
      large unintentionally.  Setting a hard maximum limit should prevent
      memory from growing if we suddenly get a lot of frames.
      4459ed3e