[vlc-devel] How to draw a line in subpicture_t region

Steinar H. Gunderson sgunderson at bigfoot.com
Mon Aug 27 22:44:22 CEST 2012


On Mon, Aug 27, 2012 at 01:40:40PM -0700, Peter Tap wrote:
>   *(pPic->p[3].p_pixels + (i * p[3].i_pitch) + i) = 0x00; // No transparency for alpha channel

This is not really related to your question, but surely you mean 0xff, not 0x00.
Alpha is almost always specified in terms of opacity (coverage), not
transparency.

/* Steinar */
-- 
Homepage: http://www.sesse.net/



More information about the vlc-devel mailing list