[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] [bug #25456] [regression] gnash not able to play sound fr
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation |
Date: |
Sun, 03 Nov 2013 14:42:07 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:25.0) Gecko/20100101 Firefox/25.0 |
Follow-up Comment #19, bug #25456 (project gnash):
This patch seems indeed to successfully enable incremental decoding, with both
gst and ffmpeg
diff --git a/libsound/EmbedSoundInst.cpp b/libsound/EmbedSoundInst.cpp
index 4c7023c..fa565aa 100644
--- a/libsound/EmbedSoundInst.cpp
+++ b/libsound/EmbedSoundInst.cpp
@@ -91,7 +91,8 @@ EmbedSoundInst::decodeNextBlock()
{
assert(!decodingCompleted());
- const boost::uint32_t inputSize = _soundDef.size() - decodingPosition;
+ boost::uint32_t inputSize = _soundDef.size() - decodingPosition;
+ if ( inputSize > 65525 ) inputSize = 65535;
#ifdef GNASH_DEBUG_SOUNDS_DECODING
log_debug(" decoding %d bytes", inputSize);
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25456>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Pablo Rodríguez, 2013/11/01
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Sandro Santilli, 2013/11/03
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Sandro Santilli, 2013/11/03
- Message not available
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Sandro Santilli, 2013/11/03
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation,
Sandro Santilli <=
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Pablo Rodríguez, 2013/11/03
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Pablo Rodríguez, 2013/11/03
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Sandro Santilli, 2013/11/03
- [Gnash-commit] [bug #25456] [regression] gnash not able to play sound from presentation, Sandro Santilli, 2013/11/03