]> git.sesse.net Git - nageru/commit
Make the FFmpegCapture disconnected frames proper black.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 24 Apr 2018 20:47:35 +0000 (22:47 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 24 Apr 2018 20:47:35 +0000 (22:47 +0200)
commit83157f6ffc2287cd861e938f85255cc0ba3506a1
tree4a3724192f311d0e1dc66dfd2e66a5d7f67e4380
parent4c144e82c20912463cf7268723e564fa6eb8f1c0
Make the FFmpegCapture disconnected frames proper black.

Less disturbing, more consistent between BGRA and Y'CbCr, and the
all-zero Y'CbCr frame causes out-of-gamut (negative) RGB values that
ended up confusing white balance adjustment a lot.
ffmpeg_capture.cpp