[Lazarus] Embedded VLC using PasLibVlc - how to fast forward?

Rolf Wetjen rolf.wetjen at mail.de
Mon Mar 23 08:38:37 CET 2020


Hi Bo,

this could be a solution for windows (fullscreen):

     SetWindowLongPtr(Handle,GWL_STYLE,iWindowStyle and not 
WS_OVERLAPPEDWINDOW);
     Left:=0;
     Top:=0;
     Width:=Screen.Width;
     Height:=Screen.Height;

Regards

Rolf

Am 23.03.2020 um 07:52 schrieb Bo Berglund via lazarus:
> On Sun, 22 Mar 2020 22:29:15 +0100, Bo Berglund via lazarus
> <lazarus at lists.lazarus-ide.org> wrote:
>
> FOLLOW-UP:
>
>> 1) FF video playback
> I found an example that handles the play speed and could verify it
> thus:
> vlcPlayer.SetPlayRate(newPlayRate);
>
> newPlayRate is an integer seemingly in percent of normal speed, so:
> x2 = 200
> x1 = 100
> x0.5 = 50
> etc
>
> vlcPlayer.GetPlayRate() reads back the current rate.
>
> Still looking for the maximize function, but it is not so needed as
> was the speed.
>
>

-- 
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus



More information about the lazarus mailing list