[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r10575: Fix build failure (type mism
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r10575: Fix build failure (type mismatch) in gst. |
Date: |
Thu, 12 Feb 2009 12:23:12 +0100 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 10575
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-02-12 12:23:12 +0100
message:
Fix build failure (type mismatch) in gst.
modified:
libmedia/gst/MediaParserGst.cpp
=== modified file 'libmedia/gst/MediaParserGst.cpp'
--- a/libmedia/gst/MediaParserGst.cpp 2008-12-04 11:49:41 +0000
+++ b/libmedia/gst/MediaParserGst.cpp 2009-02-12 11:23:12 +0000
@@ -173,7 +173,7 @@
{
GstBuffer* buffer = gst_buffer_new_and_alloc(PUSHBUF_SIZE);
- size_t ret = _stream->read(GST_BUFFER_DATA(buffer), PUSHBUF_SIZE);
+ std::streamsize ret = _stream->read(GST_BUFFER_DATA(buffer), PUSHBUF_SIZE);
if (ret == 0) {
if (!_stream->eof()) {
@@ -201,7 +201,7 @@
if (!GST_FLOW_IS_SUCCESS (rv)) {
log_error(_("MediaParserGst failed to push more data into the demuxer!
"
"Seeking back."));
- _stream->seek(_stream->tell()-ret);
+ _stream->seek(_stream->tell() - ret);
return false;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r10575: Fix build failure (type mismatch) in gst.,
Benjamin Wolsey <=