0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 21:13:04 +02:00
obs-studio/libobs/media-io
jp9000 4e54c89f9c libobs: Fix full range min/max output
The minimum and maximum color range values were not being set by the
video_format_get_parameters function when full range was in use; I
assume it's because the expected min/max values of full range is
{0.0, 0.0, 0.0} and {1.0, 1.0, 1.0}, so I'm just making it so that it
sets those values if using full range.

Way to replicate the issue (windows):
1.) Create a win-dshow device capture source
2.) Select a device and set it to a YUV color format to enable YUV color
conversion
3.) Select "Full Range" in the color range property.
4.) Restart OBS, the device will then start up, but will display green
due to the fact that the min/max range values were never set, and are
left at their default value of 0.
2015-04-10 07:27:26 -07:00
..
audio-io.c (API Change) Add support for multiple audio mixers 2015-02-04 16:51:29 -08:00
audio-io.h (API Change) Add support for multiple audio mixers 2015-02-04 16:51:29 -08:00
audio-resampler-ffmpeg.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
audio-resampler.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
format-conversion.c Remove majority of warnings 2014-02-14 15:13:36 -07:00
format-conversion.h Remove majority of warnings 2014-02-14 15:13:36 -07:00
media-io-defs.h Change default audio smoothing threshold to 50ms 2014-10-22 20:32:46 -07:00
media-remux.c Add media remuxer to media-io 2014-10-12 06:27:33 +02:00
media-remux.h Add media remuxer to media-io 2014-10-12 06:27:33 +02:00
video-fourcc.c Fix multi-char constant warnings 2014-05-10 02:06:59 +02:00
video-frame.c libobs/media-io: Add frame copying function 2014-12-31 04:03:45 -08:00
video-frame.h libobs/media-io: Add frame copying function 2014-12-31 04:03:45 -08:00
video-io.c Set various thread names 2015-01-03 02:37:20 -08:00
video-io.h libobs: Redesign/optimize frame encoding handling 2014-12-31 04:03:47 -08:00
video-matrices.c libobs: Fix full range min/max output 2015-04-10 07:27:26 -07:00
video-scaler-ffmpeg.c (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00
video-scaler.h (API Change) Remove pointers from all typedefs 2014-09-25 21:48:11 -07:00