diff options
author | Calvin Walton <calvin.walton@kepstin.ca> | 2018-02-01 13:28:25 -0500 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2018-02-02 15:36:21 +0000 |
commit | 108958e43df075967217d4c81cb4cea5164b2b5f (patch) | |
tree | 8dbef42be591efbf5f6041d01bdba525fee366c6 /doc/examples/vaapi_transcode.c | |
parent | 4be6307cbf819eeaac850b3f0e7e088b147107d3 (diff) | |
download | ffmpeg-108958e43df075967217d4c81cb4cea5164b2b5f.tar.gz |
librsvgdec: Fix frame clearing code
The existing code attempts to clear the frame by painting in OVER
mode with transparent black - which is a no-op. As a result if you
have many input frames (e.g. you're using a sequence of svg files),
you'll start to see new frames drawn over old frames as memory gets
re-used.
Switch the code to paint using the CLEAR compositing operator,
which fills every channel with 0 values (setting a source colour
is not required).
Diffstat (limited to 'doc/examples/vaapi_transcode.c')
0 files changed, 0 insertions, 0 deletions