avfilter/avf_showvolume: fix several issues
authorPaul B Mahol <onemda@gmail.com>
Sun, 29 Nov 2015 11:37:48 +0000 (12:37 +0100)
committerPaul B Mahol <onemda@gmail.com>
Sun, 29 Nov 2015 12:02:40 +0000 (13:02 +0100)
commit7a9b4427b51eb14e1729f66268ebe794bddde581
treeaf37087a20077b12def55297e2921b3f56cef191
parent2ea38a946dbd7c4528f5729f494758cfad491fa8
avfilter/avf_showvolume: fix several issues

Fix color fading: previously color could fade to red when
volume level for red color was actually never reached.
Display volume value on right side.
Use red color only if clipping is needed.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
doc/filters.texi
libavfilter/avf_showvolume.c