Page 1 of 1

vlc.video.crop question

Posted: 29 Sep 2010 10:16
by DjBS
Hi, i have that function

function doChangeCrop(arValue)
{
var vlc = getVLC("vlc");
if( vlc.input.state && vlc.input.hasVout )
{
vlc.video.crop = arValue;
}
Crop = arValue;
};

And its working with croping 4:3 16:9 16:10 1:1... but it not working with 2.21:1 2.35:1
<input class="button" alt="CROP 16:10" type="button" id="16:10" value="16:10" onClick="doChangeCrop(this.value);">
<input class="button" alt="CROP 2.21:1" type="button" id="2.21:1" value="2.21:1" onClick="doChangeCrop(this.value);">

What is wrong? How can i croping to that value?