CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/08/10 03:54:16
Modified files: . : ChangeLog server/swf : tag_loaders.cpp Log message: * server/swf/tag_loaders.cpp (sound_stream_block_loader): don't discard the first 4 bytes if not reading an MP3. Makes ADPCM sound better for the feed.swf case (but ADPCM decoder needs lot more work to be correct) CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3979&r2=1.3980 http://cvs.savannah.gnu.org/viewcvs/gnash/server/swf/tag_loaders.cpp?cvsroot=gnash&r1=1.126&r2=1.127 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3979 retrieving revision 1.3980 diff -u -b -r1.3979 -r1.3980 --- ChangeLog 9 Aug 2007 23:29:53 -0000 1.3979 +++ ChangeLog 10 Aug 2007 03:54:16 -0000 1.3980 @@ -1,5 +1,12 @@ 2007-08-09 Sandro Santilli <[EMAIL PROTECTED]> + * server/swf/tag_loaders.cpp (sound_stream_block_loader): don't + discard the first 4 bytes if not reading an MP3. Makes ADPCM + sound better for the feed.swf case (but ADPCM decoder needs + lot more work to be correct) + +2007-08-09 Sandro Santilli <[EMAIL PROTECTED]> + * server/FreetypeGlyphsProvider.cpp (getGlyph): don't abort if FT_Load_Char doesn't return an outline glyph, rather print an UNIMPLEMENTED message and the type of glyph you got. Index: server/swf/tag_loaders.cpp =================================================================== RCS file: /sources/gnash/gnash/server/swf/tag_loaders.cpp,v retrieving revision 1.126 retrieving revision 1.127 diff -u -b -r1.126 -r1.127 --- server/swf/tag_loaders.cpp 9 Aug 2007 23:24:44 -0000 1.126 +++ server/swf/tag_loaders.cpp 10 Aug 2007 03:54:16 -0000 1.127 @@ -17,7 +17,7 @@ // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA // -/* $Id: tag_loaders.cpp,v 1.126 2007/08/09 23:24:44 strk Exp $ */ +/* $Id: tag_loaders.cpp,v 1.127 2007/08/10 03:54:16 strk Exp $ */ #ifdef HAVE_CONFIG_H #include "config.h" @@ -1543,8 +1543,10 @@ assert(tag == SWF::SOUNDSTREAMBLOCK); // 19 - // discard garbage data - in->skip_bytes(4); + // discard garbage data (MP3 only) + // TODO: stop using statics (stream_input_format) for stream sounds.. + // tgc should be working on this + if ( stream_input_format == sound_handler::FORMAT_MP3) in->skip_bytes(4); // If we don't have a sound_handler registered stop here if (!handler) return; _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit