summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-03 22:10:29 +0000
committerCarl Hetherington <cth@carlh.net>2019-05-03 22:10:29 +0000
commitbb4af4ee38488120090de1879ee43a27ba2d4537 (patch)
tree59305635682cf136567a4094c8783c7441cf472f
parentafa7b7e7240198d86146e6fe8c7911e049ee4f95 (diff)
parentcaa554d47f573d8f169d2bab9f4c19e761a9768b (diff)
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
-rwxr-xr-xrun/tests2
-rw-r--r--src/lib/image.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/run/tests b/run/tests
index 7a757e9d0..3f465a433 100755
--- a/run/tests
+++ b/run/tests
@@ -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);
}