diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-05-03 22:10:29 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2019-05-03 22:10:29 +0000 |
| commit | bb4af4ee38488120090de1879ee43a27ba2d4537 (patch) | |
| tree | 59305635682cf136567a4094c8783c7441cf472f | |
| parent | afa7b7e7240198d86146e6fe8c7911e049ee4f95 (diff) | |
| parent | caa554d47f573d8f169d2bab9f4c19e761a9768b (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
| -rwxr-xr-x | run/tests | 2 | ||||
| -rw-r--r-- | src/lib/image.cc | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -22,6 +22,6 @@ elif [ "$1" == "--quiet" ]; then build/test/unit-tests --catch_system_errors=no $* else ulimit -c unlimited - build/test/unit-tests --catch_system_errors=no $* + build/test/unit-tests --catch_system_errors=no --log_level=test_suite $* # build/test/unit-tests --catch_system_errors=no $* fi diff --git a/src/lib/image.cc b/src/lib/image.cc index 959eec5a5..d3b193e7b 100644 --- a/src/lib/image.cc +++ b/src/lib/image.cc @@ -469,7 +469,7 @@ Image::make_black () void Image::make_transparent () { - if (_pixel_format != AV_PIX_FMT_BGRA) { + if (_pixel_format != AV_PIX_FMT_BGRA && _pixel_format != AV_PIX_FMT_RGBA) { throw PixelFormatError ("make_transparent()", _pixel_format); } |
