diff options
author | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-30 00:19:34 +0100 |
---|---|---|
committer | Graeme Geldenhuys <graemeg@gmail.com> | 2013-04-30 00:19:34 +0100 |
commit | d856075f5f21a76266d47675a76aa4b762fd51aa (patch) | |
tree | 384902f83707bec0ea28817b65d4bd256004d939 /examples/gui/video_vlc/testfpguivlc.lpr | |
parent | 1ef066af3f4fbfb339264c6095a318564dfee0b9 (diff) | |
download | fpGUI-d856075f5f21a76266d47675a76aa4b762fd51aa.tar.xz |
Adds VLC video library header translation and Media Player component.
These are optional 3rd party components, because they will add extra
dependencies to your project. For that reason, they are not part of
the fpgui_toolkit package as standard.
Diffstat (limited to 'examples/gui/video_vlc/testfpguivlc.lpr')
-rw-r--r-- | examples/gui/video_vlc/testfpguivlc.lpr | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/examples/gui/video_vlc/testfpguivlc.lpr b/examples/gui/video_vlc/testfpguivlc.lpr new file mode 100644 index 00000000..3846a69c --- /dev/null +++ b/examples/gui/video_vlc/testfpguivlc.lpr @@ -0,0 +1,31 @@ +program testfpguivlc; + +{$mode objfpc}{$H+} + +uses + {$IFDEF UNIX} + cthreads, + {$ENDIF} + Math, + Classes, frmvlcplayer, fpg_vlc, libvlc, vlc, fpg_main; + +procedure MainProc; +var + frm: TVLCPlayerDemoForm; +begin + fpgApplication.Initialize; + frm := TVLCPlayerDemoForm.Create(nil); + frm.Show; + fpgApplication.Run; + frm.Free; +end; + + +begin + With TThread.Create(False) do + Terminate; + setexceptionmask([exInvalidOp, exDenormalized, exZeroDivide, + exOverflow, exUnderflow, exPrecision]); + MainProc; +end. + |