CVSROOT: /sources/gnash
Module name: gnash
Changes by: Markus Gothe <nihilus> 07/07/09 12:12:16
Modified files:
. : ChangeLog
gui : NullGui.cpp
Log message:
reverted
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3687&r2=1.3688
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/NullGui.cpp?cvsroot=gnash&r1=1.15&r2=1.16
Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3687
retrieving revision 1.3688
diff -u -b -r1.3687 -r1.3688
--- ChangeLog 9 Jul 2007 07:31:05 -0000 1.3687
+++ ChangeLog 9 Jul 2007 12:12:15 -0000 1.3688
@@ -84,10 +84,6 @@
* configure.ac: Add xsltproc to list of docbook required packages
* server/asobj/SoundFfmpeg.cpp: Fix signed/unsigned compiler warning
-2007-07-05 Markus Gothe <[EMAIL PROTECTED]>
-
- * gui/NullGui.cpp: use boost instead of tu_timer.
-
2007-07-05 Martin Guy <[EMAIL PROTECTED]>
* server/parser/movie_def_impl.cpp: Report internal sample ID too in
Index: gui/NullGui.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/NullGui.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -b -r1.15 -r1.16
--- gui/NullGui.cpp 6 Jul 2007 01:10:04 -0000 1.15
+++ gui/NullGui.cpp 9 Jul 2007 12:12:16 -0000 1.16
@@ -32,9 +32,7 @@
# include <unistd.h> // for usleep
#endif
-#include <boost/date_time/posix_time/posix_time_types.hpp>
-
-using namespace boost::posix_time;
+#include "tu_timer.h"
namespace gnash
{
@@ -43,7 +41,7 @@
NullGui::run()
{
uint64_t prevtimer=0;
- uint64_t start_timer =
((microsec_clock::local_time()).time_of_day()).total_milliseconds(); //
returns milliseconds
+ uint64_t start_timer = tu_timer::get_ticks(); // returns milliseconds
prevtimer = start_timer;
@@ -57,7 +55,7 @@
while (1)
{
- timer =
((microsec_clock::local_time()).time_of_day()).total_milliseconds();
+ timer = tu_timer::get_ticks();
if (timer - prevtimer >= _interval)
break; // next frame, please!
_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit