vlc.video.crop question

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
DjBS
New Cone
New Cone
Posts: 5
Joined: 30 Aug 2010 02:39

vlc.video.crop question

Postby DjBS » 29 Sep 2010 10:16

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?

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests