summaryrefslogtreecommitdiff
path: root/multimedia/mpegedit/files/patch-aq
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-09-23 01:36:53 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-09-23 01:36:53 +0000
commit8c7499bdfa85657ea6c2517ada0ef4a4db489beb (patch)
tree1c37a6088704b234484b1352cd1f882fb2a253ad /multimedia/mpegedit/files/patch-aq
parentCatch up with Wnn6-lib update. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_1'.release/4.1.1
Diffstat (limited to 'multimedia/mpegedit/files/patch-aq')
-rw-r--r--multimedia/mpegedit/files/patch-aq69
1 files changed, 0 insertions, 69 deletions
diff --git a/multimedia/mpegedit/files/patch-aq b/multimedia/mpegedit/files/patch-aq
deleted file mode 100644
index f2975dbae576..000000000000
--- a/multimedia/mpegedit/files/patch-aq
+++ /dev/null
@@ -1,69 +0,0 @@
---- editor/editor.C.orig Sun Jun 18 04:27:07 1995
-+++ editor/editor.C Sat Apr 1 20:10:46 2000
-@@ -45,11 +45,14 @@
- #include <stdio.h>
- #include <time.h>
- #include <unistd.h>
-+#include <string.h>
- #include <sys/time.h>
- #include <sys/types.h>
- #include <sys/wait.h>
-+extern "C" {
- #include "pbmplus.h"
- #include "pnm.h"
-+}
-
- #define del(x) delete x; x = NULL;
-
-@@ -3249,17 +3252,17 @@
- wins[0] = play_btn->WinId();
- play_btn->RestrictEvents(wins,1);
-
-- gettimeofday(&target,(timezone *)NULL); // Time a read, to
-+ gettimeofday(&target,(struct timezone *)NULL); // Time a read, to
- ret_stat = Codec_stream->Read(temp_frame); // find out how long
-- gettimeofday(&clk,(timezone *)NULL); // it takes
-+ gettimeofday(&clk,(struct timezone *)NULL); // it takes
-
- decode_delay = clk.tv_usec + 1000000*clk.tv_sec;
- decode_delay -= target.tv_usec + 1000000*target.tv_sec;
-
-- gettimeofday(&target,(timezone *)NULL); // Time a dither, to
-+ gettimeofday(&target,(struct timezone *)NULL); // Time a dither, to
- MajorWin.win->DisplayFrame(temp_frame,false); // find out how long
- time_win->SetTime(Codec_stream->GetPos_hms(),false); // it takes
-- gettimeofday(&clk,(timezone *)NULL);
-+ gettimeofday(&clk,(struct timezone *)NULL);
-
- dither_delay = clk.tv_usec + 1000000*clk.tv_sec;
- dither_delay -= target.tv_usec + 1000000*target.tv_sec;
-@@ -3268,9 +3271,9 @@
-
- for(int a=0; a<5; a++)
- {
-- gettimeofday(&target,(timezone *)NULL); // Time usleep, to
-+ gettimeofday(&target,(struct timezone *)NULL); // Time usleep, to
- usleep(10000); // find out how long
-- gettimeofday(&clk,(timezone *)NULL); // it takes
-+ gettimeofday(&clk,(struct timezone *)NULL); // it takes
-
- usleep_delay += clk.tv_usec + 1000000*clk.tv_sec - 10000;
- usleep_delay -= target.tv_usec + 1000000*target.tv_sec;
-@@ -3283,7 +3286,7 @@
-
- // Calculate when the frame _should_ finish
-
-- gettimeofday(&target,(timezone *)NULL);
-+ gettimeofday(&target,(struct timezone *)NULL);
- target.tv_usec += usec_per_frame - dither_delay - decode_delay;
- if(target.tv_usec >= 1000000)
- {
-@@ -3299,7 +3302,7 @@
-
- // See if we're ahead by more than a decode delay (for the next frame)
-
-- gettimeofday(&clk,(timezone *)NULL);
-+ gettimeofday(&clk,(struct timezone *)NULL);
- diff = target.tv_usec - clk.tv_usec;
- diff += 1000000*(target.tv_sec - clk.tv_sec);
- if(diff>usleep_delay) // If we are ahead, sleep for a while