[Top][All Lists]
[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: |
Bastiaan Jacques |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-97-g22f922d |
Date: |
Sun, 20 Feb 2011 19:00:52 +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 22f922dffa643bdf2ab56e513fd06d964aeec299 (commit)
via 8553dcc1933885b83449cbd2e5246863c2f8e015 (commit)
from 0c40013e6832ecdc5bfc125f1673a235c0fae2de (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=22f922dffa643bdf2ab56e513fd06d964aeec299
commit 22f922dffa643bdf2ab56e513fd06d964aeec299
Author: Bastiaan Jacques <address@hidden>
Date: Sun Feb 20 20:00:27 2011 +0100
Reduce verbosity.
diff --git a/libcore/TextField.cpp b/libcore/TextField.cpp
index f358b43..b4a2b2b 100644
--- a/libcore/TextField.cpp
+++ b/libcore/TextField.cpp
@@ -1457,7 +1457,9 @@ TextField::handleChar(std::wstring::const_iterator& it,
attloc = attributes.find("FACE");
if (attloc != attributes.end()) {
if (attloc->second.empty()) {
- log_aserror("Expected a font name in FACE
attribute.");
+ IF_VERBOSE_ASCODING_ERRORS(
+ log_aserror(_("Expected a font name
in FACE attribute."))
+ );
} else {
//font FACE attribute
boost::intrusive_ptr<Font> newfont = new
Font(attloc->second,
http://git.savannah.gnu.org/cgit//commit/?id=8553dcc1933885b83449cbd2e5246863c2f8e015
commit 8553dcc1933885b83449cbd2e5246863c2f8e015
Author: Bastiaan Jacques <address@hidden>
Date: Sun Feb 20 19:03:40 2011 +0100
Fix indentation.
diff --git a/libcore/swf/VideoFrameTag.cpp b/libcore/swf/VideoFrameTag.cpp
index 521b1e5..de433d8 100644
--- a/libcore/swf/VideoFrameTag.cpp
+++ b/libcore/swf/VideoFrameTag.cpp
@@ -61,7 +61,7 @@ VideoFrameTag::loader(SWFStream& in, SWF::TagType tag,
movie_definition& m,
return;
}
- // TODO: skip if there's no MediaHandler registered ?
+ // TODO: skip if there's no MediaHandler registered ?
const unsigned short padding = 8;
@@ -78,13 +78,13 @@ VideoFrameTag::loader(SWFStream& in, SWF::TagType tag,
movie_definition& m,
}
- const unsigned int dataLength = in.get_tag_end_position() - in.tell();
+ const unsigned int dataLength = in.get_tag_end_position() - in.tell();
// FIXME: catch bad_alloc
- boost::uint8_t* buffer = new boost::uint8_t[dataLength + padding];
+ boost::uint8_t* buffer = new boost::uint8_t[dataLength + padding];
- const size_t bytesRead = in.read(reinterpret_cast<char*>(buffer),
- dataLength);
+ const size_t bytesRead = in.read(reinterpret_cast<char*>(buffer),
+ dataLength);
if (bytesRead < dataLength)
{
@@ -95,12 +95,12 @@ VideoFrameTag::loader(SWFStream& in, SWF::TagType tag,
movie_definition& m,
std::fill_n(buffer + bytesRead, padding, 0);
- using namespace media;
+ using namespace media;
std::auto_ptr<EncodedVideoFrame> frame(
new EncodedVideoFrame(buffer, dataLength, frameNum));
- vs->addVideoFrameTag(frame);
+ vs->addVideoFrameTag(frame);
}
} // namespace SWF
-----------------------------------------------------------------------
Summary of changes:
libcore/TextField.cpp | 4 +++-
libcore/swf/VideoFrameTag.cpp | 14 +++++++-------
2 files changed, 10 insertions(+), 8 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-97-g22f922d,
Bastiaan Jacques <=