[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: |
Sandro Santilli |
Subject: |
[Gnash-commit] [SCM] Gnash branch, master, updated. release_0_8_9_start-240-ge632f2e |
Date: |
Fri, 11 Mar 2011 16:02:21 +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 e632f2ea4460637bf1b0f8ebbd6a53c47838abb6 (commit)
from 1163866db47b0177d0dd894dc5e50ccc5cf9734b (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=e632f2ea4460637bf1b0f8ebbd6a53c47838abb6
commit e632f2ea4460637bf1b0f8ebbd6a53c47838abb6
Author: Sandro Santilli <address@hidden>
Date: Fri Mar 11 17:00:51 2011 +0100
Have MediaParserFfmpeg::seekMedia return -1 on error. Properly signals
parsing errors in the upper levels, which then consider the input finished and
show what they got so far. By all effects, this fixes playback of the infamous
"the snow plugin" movie, bug #32751.
diff --git a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
index 4afed1b..0fc8340 100644
--- a/libmedia/ffmpeg/MediaParserFfmpeg.cpp
+++ b/libmedia/ffmpeg/MediaParserFfmpeg.cpp
@@ -557,6 +557,7 @@ MediaParserFfmpeg::seekMedia(boost::int64_t offset, int
whence)
"tried to seek at negative offset %1%."))
% offset;
log_error(fmt);
+ return -1;
} else {
_stream->seek(offset);
}
@@ -580,6 +581,7 @@ MediaParserFfmpeg::seekMedia(boost::int64_t offset, int
whence)
// ffmpeg uses whence=AVSEEK_SIZE and offset=0 to request
// stream size !
log_unimpl("MediaParserFfmpeg: unsupported whence value %d",
whence);
+ return -1;
}
-----------------------------------------------------------------------
Summary of changes:
libmedia/ffmpeg/MediaParserFfmpeg.cpp | 2 ++
1 files changed, 2 insertions(+), 0 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-240-ge632f2e,
Sandro Santilli <=