aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/lib/ffmpeg/lazarustest.lpr
diff options
context:
space:
mode:
authorjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-19 23:34:09 +0000
committerjaybinks <jaybinks@b956fd51-792f-4845-bead-9b4dfca2ff2c>2007-09-19 23:34:09 +0000
commit1c3dedbdd8522e63080133197af763d1995f8236 (patch)
tree7d5ecf552a616bb68b67c03dd241dcfd479fe8e7 /Game/Code/lib/ffmpeg/lazarustest.lpr
parente73069b99f8350eb9bea66ed2d74fdd79e5c4fa1 (diff)
downloadusdx-1c3dedbdd8522e63080133197af763d1995f8236.tar.gz
usdx-1c3dedbdd8522e63080133197af763d1995f8236.tar.xz
usdx-1c3dedbdd8522e63080133197af763d1995f8236.zip
tested ffmpeg in lazarus - linux..
working :) just need to make sure development packages are installed for ffmpeg. such as : libavcodec-dev & libavformat-dev git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@405 b956fd51-792f-4845-bead-9b4dfca2ff2c
Diffstat (limited to 'Game/Code/lib/ffmpeg/lazarustest.lpr')
-rw-r--r--Game/Code/lib/ffmpeg/lazarustest.lpr57
1 files changed, 30 insertions, 27 deletions
diff --git a/Game/Code/lib/ffmpeg/lazarustest.lpr b/Game/Code/lib/ffmpeg/lazarustest.lpr
index 56efac75..10b59b9c 100644
--- a/Game/Code/lib/ffmpeg/lazarustest.lpr
+++ b/Game/Code/lib/ffmpeg/lazarustest.lpr
@@ -1,27 +1,30 @@
-program lazarustest;
-
-{$MODE Delphi}
-
-uses
-
- avcodec in 'avcodec.pas',
- avformat in 'avformat.pas',
- avutil in 'avutil.pas',
- rational in 'rational.pas',
- opt in 'opt.pas',
- avio in 'avio.pas',
- sysutils;
-
-begin
- // This compiles with all units in..
- // but I cant run it, if its compiled with lazarus or delphi
- // I get errors about not finding functions in dll's
-
- try
-// av_register_all();
- writeln( 'If you see this then ffmpeg is probably lazarus compatible' );
- except
- writeln( 'ffmpeg is NOT lazarus compatible' );
- end;
-end.
-
+program lazarustest;
+
+{$MODE Delphi}
+
+uses
+
+ avcodec in 'avcodec.pas',
+ avformat in 'avformat.pas',
+ avutil in 'avutil.pas',
+ rational in 'rational.pas',
+ opt in 'opt.pas',
+ avio in 'avio.pas',
+ sysutils;
+
+begin
+ // This compiles with all units in..
+ // but I cant run it, if its compiled with lazarus or delphi
+ // I get errors about not finding functions in dll's
+
+ // ON LINUX - Ubuntu .. you will probably need to
+ // sudo apt-get install libavcodec-dev libavformat-dev
+
+ try
+ av_register_all();
+ writeln( 'YES - If you see this then ffmpeg is probably lazarus compatible' );
+ except
+ writeln( 'NO - ffmpeg is NOT lazarus compatible' );
+ end;
+end.
+