gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-


From: Benjamin Wolsey
Subject: [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-505-g6dca10c
Date: Sun, 03 Apr 2011 14:53:53 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnash".

The branch, master has been updated
       via  6dca10c521084891a58b2ff1da44df65990f0b3a (commit)
       via  3a2f973aa4f873ddc03555ffd57056134c233691 (commit)
      from  f05022aca2c14022a942d36a22764fae4b8f00c0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit//commit/?id=6dca10c521084891a58b2ff1da44df65990f0b3a


commit 6dca10c521084891a58b2ff1da44df65990f0b3a
Author: Benjamin Wolsey <address@hidden>
Date:   Sun Apr 3 14:41:50 2011 +0200

    Don't generate random bools when we want random bytes.

diff --git a/libbase/RTMP.cpp b/libbase/RTMP.cpp
index e384e3c..30adb28 100644
--- a/libbase/RTMP.cpp
+++ b/libbase/RTMP.cpp
@@ -75,7 +75,7 @@ namespace {
 /// TODO: do this properly (it's currently not very random).
 struct RandomByte
 {
-    bool operator()() const {
+    boost::uint8_t operator()() const {
         return std::rand() % 256;
     }
 };

http://git.savannah.gnu.org/cgit//commit/?id=3a2f973aa4f873ddc03555ffd57056134c233691


commit 3a2f973aa4f873ddc03555ffd57056134c233691
Author: Benjamin Wolsey <address@hidden>
Date:   Sun Apr 3 14:34:31 2011 +0200

    Drop unused member.

diff --git a/gui/Player.cpp b/gui/Player.cpp
index bb6c235..736fcce 100644
--- a/gui/Player.cpp
+++ b/gui/Player.cpp
@@ -192,11 +192,6 @@ Player::setFlashVars(const std::string& varstr)
 
 Player::Player()
     :
-#if defined(RENDERER_CAIRO)
-    _bitDepth(32),
-#else
-    _bitDepth(16),
-#endif
     _scale(1.0f),
     _delay(0),
     _width(0),
diff --git a/gui/Player.h b/gui/Player.h
index 17da865..627e1c3 100644
--- a/gui/Player.h
+++ b/gui/Player.h
@@ -279,7 +279,6 @@ private:
     
     // Movie parameters (for -P)
     Params      _params;
-    unsigned int _bitDepth;
     
     // the scale at which to play 
     float       _scale;

-----------------------------------------------------------------------

Summary of changes:
 gui/Player.cpp   |    5 -----
 gui/Player.h     |    1 -
 libbase/RTMP.cpp |    2 +-
 3 files changed, 1 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
Gnash



reply via email to

[Prev in Thread] Current Thread [Next in Thread]