Blackframe video filter now sets metadata accordingly.
authorStepan Bujnak <stepan.bujnak@gmail.com>
Fri, 11 Jul 2014 21:40:07 +0000 (23:40 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 15 Jul 2014 21:37:27 +0000 (23:37 +0200)
commit895e92eca0509e540e98913436533ae032552655
treef17c53964ecc6f8cb6487ef79130e88a5a0d70fd
parent880dbe43ca71982ecdfe1c73446137d6b2fd24d5
Blackframe video filter now sets metadata accordingly.

the libavfilter/vf_blackframe.c filter now not only logs detected
values, but also sets frame metadata. Currently, only `pblack` value is set
but `SET_META` macro has been introduced to ease development in the future.

Signed-off-by: Stepan Bujnak <stepan.bujnak@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_blackframe.c