1. 31 3月, 2015 10 次提交
  2. 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
  3. 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
  4. 27 3月, 2015 4 次提交
    • 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
    • J
      libobs: Swap async source frames in tick · 6e22ac41
      jp9000 提交于
      Async frames are only swapping when rendering, or when not visible.
      This is a flawed design due to the fact that there are certain
      circumstances where the source is neither visible nor currently
      rendering.
      
      This is what caused a memory leak when scene items were marked as
      invisible, because if a source has an async child source and decides not
      to render that source for whatever reason, the child source would not
      process the async frames at all, and the cache would just grow.
      
      To fix this, simply moving the async frame cycle to tick fixes the issue
      due to the fact that tick is always called regardless of circumstance.
      6e22ac41
  5. 26 3月, 2015 17 次提交