[vlc] vmem-pitch?

Quentin Garnier cube at cubidou.net
Thu Jun 19 01:19:56 CEST 2008


Hi,

I'm unsure about how to use the vmem-pitch argument of the vmem output
module.  If I use the values as given in the SDL example (320x200, and a
pitch of 640), it works.  But my source is 480x480 which I want to be
resized.  Various combinations of the parameters lead to different
results but none give me the correct ratio or expand to the full size of
the video buffer.

I might be very naive here, but what am I missing?  What should be the
pitch value anyway?  It seems to be a number a bytes until next row, but
I'm not entirely sure.

Thanks for any input,

-- 
Quentin Garnier - cube at cubidou.net - cube at NetBSD.org
"See the look on my face from staying too long in one place
[...] every time the morning breaks I know I'm closer to falling"
KT Tunstall, Saving My Face, Drastic Fantastic, 2007.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20080619/47981692/attachment.sig>


More information about the vlc mailing list