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 /src | |
| parent | afa7b7e7240198d86146e6fe8c7911e049ee4f95 (diff) | |
| parent | caa554d47f573d8f169d2bab9f4c19e761a9768b (diff) | |
Merge branch 'master' of ssh://git.carlh.net/home/carl/git/dcpomatic
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/image.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |
