[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [SCM] Gnash branch, master, updated. b3304de31e3ac7826d81
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. b3304de31e3ac7826d819a7542de380526beabe7 |
Date: |
Mon, 06 Dec 2010 10:37:49 +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 b3304de31e3ac7826d819a7542de380526beabe7 (commit)
from 83042956995ecb7411b679a7186a8d81171268c3 (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=b3304de31e3ac7826d819a7542de380526beabe7
commit b3304de31e3ac7826d819a7542de380526beabe7
Author: Sandro Santilli <address@hidden>
Date: Mon Dec 6 11:37:27 2010 +0100
Still useful to see the actual seek requested, so include in the exception
thrown
diff --git a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
index c1a4a27..cb68aad 100644
--- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
@@ -542,10 +542,11 @@ MediaParserFfmpeg::seekMedia(boost::int64_t offset, int
whence)
{
// Offset is absolute new position in the file
if ( offset < 0 ) {
- throw MediaException(
- "MediaParserFfmpeg couldn't parse input format:
"
- "tried to seek at negative offset."
- );
+ boost::format fmt = boost::format(
+ _("MediaParserFfmpeg couldn't parse input
format: "
+ "tried to seek at negative offset %1%."))
+ % offset;
+ throw MediaException(fmt.str());
}
_stream->seek(offset);
}
-----------------------------------------------------------------------
Summary of changes:
libmedia/ffmpeg/MediaParserFfmpeg.cpp | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
hooks/post-receive
--
Gnash
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] [SCM] Gnash branch, master, updated. b3304de31e3ac7826d819a7542de380526beabe7,
Sandro Santilli <=