Forum > GTK

VLC Player (PasLibVlc) - Xubuntu Error

(1/1)

0x90kh4n:
Hi guys,

Vlc player installed xubuntu. Lazarus as a companent PasLibVlc installed. I get an error like this.


--- Code: ---TApplication.HandleException Access violation
  Stack trace:
  $00856688
Segmentation fault (core dumped)

--- End code ---

My source

--- Code: ---uses
  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls,
  PasLibVlcPlayerUnit; 

type
   TForm1 = class(TForm)
   Button1: TButton;
   PasLibVlcPlayer1: TPasLibVlcPlayer;
   procedure Button1Click(Sender: TObject);
   procedure FormCreate(Sender: TObject);

procedure TForm1.Button1Click(Sender: TObject);
begin
  try
     PasLibVlcPlayer1.play('Maximize.mp4');
  except on e : exception do
    ShowMessage(e.message);
  end;

end;
--- End code ---

Navigation

[0] Message Index

Go to full version