Michael Fabian Dirks f8b14bdb46 libobs: Ensure scene items don't have pre-multiplied alpha
Scene items would incorrectly have pre-multiplied alpha when they were
scaled with different scale filtering, when they were cropped, or when
the item itself was a scene.  This happens because the scene renders the
items to a texture in those cases, and when they are rendered to a
texture the blend function would be the default srcalpha/invsrcalpha
blend function, which would cause alpha to become pre-multiplied in the
texture's result rather than straight alpha.

This changes the behavior to directly copy the color/alpha to the
texture using the one/zero blend function instead, which makes the
resulting texture straight alpha.  (Note that you do not want to turn
off the blend mode for the same result because certain sources can have
custom drawing that may rely on blending being available)

Related Issue: https://obsproject.com/mantis/view.php?id=954

Closes jp9000/obs-studio#966
2017-07-21 08:30:14 -07:00
2017-07-21 08:27:31 -07:00
2017-01-30 16:05:25 -08:00
2017-04-23 16:12:12 +02:00
2015-07-11 09:10:27 -07:00
2017-04-07 22:33:48 -07:00

OBS Studio <https://obsproject.com>
===================================

What is OBS Studio?
-------------------

  OBS Studio is software designed for capturing, compositing, encoding,
  recording, and streaming video content, efficiently.

  It's distributed under the GNU General Public License v2 - see the
  accompanying COPYING file for more details.

Quick Links
-----------

 - Website: https://obsproject.com

 - Help/Guides: https://github.com/jp9000/obs-studio/wiki

 - Forums: https://obsproject.com/forum/

 - Build Instructions: https://github.com/jp9000/obs-studio/wiki/Install-Instructions

 - Bug Tracker: https://obsproject.com/mantis/

   (Note: The bug tracker is linked to forum accounts.  To use the bug
   tracker, log in to a forum account)

Contributing
------------

 - If you wish to contribute code to the project, please make sure read
   the coding and commit guidelines:
   https://github.com/jp9000/obs-studio/blob/master/CONTRIBUTING.rst

 - If you wish to contribute translations, do not submit pull requests.
   Instead, please use Crowdin.  For more information read this thread:
   https://obsproject.com/forum/threads/how-to-contribute-translations-for-obs.16327/

 - Other ways to contribute are by helping people out with support on
   our forums or in our community chat.  Please limit support to topics
   you fully understand -- bad advice is worse than no advice.  When it
   comes to something that you don't fully know or understand, please
   defer to the official help or official channels. 
S
Description
OBS Studio - Free and open source software for live streaming and screen recording
Readme
351 MiB
Languages
C 52.6%
C++ 36%
CMake 3.4%
Swift 2.9%
Objective-C 2.7%
Other 2.2%