vf_drawtext: select YUV color for drawbox() in case YUV colorspace is used
authorStefano Sabatini <stefasab@gmail.com>
Sat, 24 Dec 2011 15:17:18 +0000 (16:17 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 3 Jan 2012 23:25:55 +0000 (00:25 +0100)
commit103cb461b0fad88dd48a0234e0e0609825e85caa
treea025b09148d0013b60aaa70f7b59ce4c1d87aca1
parent7e97d98033d18146070218bf30c8ee83a80b9748
vf_drawtext: select YUV color for drawbox() in case YUV colorspace is used

Fix box alpha rendering when a YUV colorspace is selected, in particular
fix trac ticket #763.
(cherry picked from commit 1858a5c25ee1ccb8089339d20138116a46cc6c77)
libavfilter/vf_drawtext.c