obs-studio/libobs
jp9000 72fbdc7eaa Fix bug with automatic video scaling
This is sort of hard to explain:  the scale_video_output function was
overwriting the current frame.  If scaling was disabled, it would do
nothing, and return success, and all would be well.  If it was enabled,
it would then call the scaler, and then replace the contents of the
'data' function parameter with the scaled frame data.  The problem with
this is that I was passing video_output::cur_frame directly, which
overwrites its previous value with the scaled frame data.  Then if
cur_frame was not updated on time, it would end up trying to scale the
previously scaled image, if that makes sense.  it would call the video
scaler with the same from for both the source and destination.

So the simple fix was to simply use a local variable and pass that in as
a parameter to prevent this bug from occurring.
2014-08-10 12:49:44 -07:00
..
callback (API Change) libobs/callback: Unsquish names 2014-08-09 11:57:38 -07:00
data Move all data into the subdir it belongs to 2014-07-19 01:38:41 +02:00
graphics (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
media-io Fix bug with automatic video scaling 2014-08-10 12:49:44 -07:00
util (API Change) Unsquish libobs/util 2014-08-09 11:57:37 -07:00
CMakeLists.txt Add support for build time dependency copying 2014-07-19 01:38:42 +02:00
LibObsConfig.cmake.in Also export a plugin destination, so external plugins know where to install stuff 2014-05-08 14:43:16 +02:00
LibObsConfigVersion.cmake.in Export libobs cmake target, so external plugins can be built without ugly hacks 2014-05-08 14:43:16 +02:00
obs-avc.c obs-output module: Fill out more functions 2014-04-02 00:42:12 -07:00
obs-avc.h obs-output module: Fill out more functions 2014-04-02 00:42:12 -07:00
obs-cocoa.c (API Change) Refactor module handling 2014-07-27 17:29:10 -07:00
obs-config.h Export plugin destination and relative prefix to obsconfig.h 2014-07-26 14:27:39 +02:00
obs-data.c (API Change) Rename autoselect/default functions 2014-08-09 14:36:38 -07:00
obs-data.h (API Change) Rename autoselect/default functions 2014-08-09 14:36:38 -07:00
obs-defs.h Change macro to MODULE_MISSING_EXPORTS for clarity 2014-07-27 17:28:35 -07:00
obs-display.c (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs-encoder.c (API Change) media-io: Improve naming consistency 2014-08-09 11:57:37 -07:00
obs-encoder.h (API Change) Use 'get' convention: API callbacks 2014-08-09 11:57:30 -07:00
obs-ffmpeg-compat.h Use propper ffmpeg compatiblity instead of relying on deprecated functions 2014-06-28 20:54:14 +02:00
obs-internal.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs-module.c (API Change) Unsquish libobs/util 2014-08-09 11:57:37 -07:00
obs-module.h Remove macro to free locale 2014-07-27 17:29:10 -07:00
obs-nix.c (API Change) Refactor module handling 2014-07-27 17:29:10 -07:00
obs-output.c (API Change) libobs/callback: Unsquish names 2014-08-09 11:57:38 -07:00
obs-output.h (API Change) Use 'get' convention: API callbacks 2014-08-09 11:57:30 -07:00
obs-properties.c libobs: Fill in rest of 'path' property code 2014-06-28 10:12:57 -07:00
obs-properties.h Add OBS_TEXT_MULTILINE for text obs properties 2014-07-21 04:31:19 +02:00
obs-scene.c (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs-scene.h Scenes: Implement more item positioning features 2014-06-15 20:33:13 -07:00
obs-service.c (API Change) Use 'get' convention: API callbacks 2014-08-09 11:57:30 -07:00
obs-service.h (API Change) Use 'get' convention: API callbacks 2014-08-09 11:57:30 -07:00
obs-source.c (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs-source.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs-ui.h Revamp API and start using doxygen 2014-02-12 08:04:50 -07:00
obs-video.c (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs-view.c (API Change) Unsquish libobs (base) names 2014-08-08 11:04:46 -07:00
obs-windows.c (API Change) Refactor module handling 2014-07-27 17:29:10 -07:00
obs.c (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs.h (API Change) Improve graphics API consistency 2014-08-09 11:57:38 -07:00
obs.hpp Make a minor OCD tweak to align parameters 2014-06-15 00:14:08 -07:00
obsconfig.h.in Export plugin destination and relative prefix to obsconfig.h 2014-07-26 14:27:39 +02:00