[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9498: testsuite fixes, flv meta tag
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9498: testsuite fixes, flv meta tag dumping |
Date: |
Thu, 17 Jul 2008 20:03:55 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9498
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Thu 2008-07-17 20:03:55 +0200
message:
testsuite fixes, flv meta tag dumping
modified:
libmedia/FLVParser.cpp
testsuite/actionscript.all/targetPath.as
testsuite/misc-ming.all/intervalTest.as
------------------------------------------------------------
revno: 9495.1.1
committer: Sandro Santilli <address@hidden>
branch nick: mybranch
timestamp: Thu 2008-07-17 19:07:10 +0200
message:
MING_SUPPORTS_ASM may be undefined, don't use #if ...
modified:
testsuite/actionscript.all/targetPath.as
------------------------------------------------------------
revno: 9495.1.2
committer: Sandro Santilli <address@hidden>
branch nick: mybranch
timestamp: Thu 2008-07-17 19:08:04 +0200
message:
Use 1 millisecond of interval rather then 0.001 (would be taken as 0)
modified:
testsuite/misc-ming.all/intervalTest.as
------------------------------------------------------------
revno: 9495.1.3
committer: Sandro Santilli <address@hidden>
branch nick: mybranch
timestamp: Thu 2008-07-17 20:02:14 +0200
message:
dump content of meta-tags in flv streams
modified:
libmedia/FLVParser.cpp
=== modified file 'libmedia/FLVParser.cpp'
--- a/libmedia/FLVParser.cpp 2008-07-09 00:04:19 +0000
+++ b/libmedia/FLVParser.cpp 2008-07-17 18:02:14 +0000
@@ -437,19 +437,18 @@
}
else if (tag[0] == FLV_META_TAG)
{
- LOG_ONCE( log_unimpl("FLV MetaTag parser") );
// Extract information from the meta tag
- /*_stream->seek(_lastParsedPosition+16);
- char* metaTag = new char[bodyLength];
- size_t actuallyRead = _stream->read(metaTag, bodyLength);
+ boost::scoped_array<unsigned char> metaTag ( new unsigned
char[bodyLength] );
+ size_t actuallyRead = _stream->read(metaTag.get(), bodyLength);
if ( actuallyRead < bodyLength )
{
log_error("FLVParser::parseNextTag: can't read metaTag
(%d) body (needed %d bytes, only got %d)",
FLV_META_TAG, bodyLength, actuallyRead);
- _parsingComplete=true;
- _indexingCompleted=true;
return false;
}
+ std::string dump = hexify(metaTag.get(), actuallyRead, false);
+ log_unimpl("FLV MetaTag parser. Data: %s", dump);
+ /*
amf::AMF* amfParser = new amf::AMF();
amfParser->parseAMF(metaTag);*/
}
=== modified file 'testsuite/actionscript.all/targetPath.as'
--- a/testsuite/actionscript.all/targetPath.as 2008-07-15 20:05:07 +0000
+++ b/testsuite/actionscript.all/targetPath.as 2008-07-17 17:07:10 +0000
@@ -84,7 +84,7 @@
#endif // MING_SUPPORTS_ASM_TARGETPATH
-#if MING_SUPPORTS_ASM
+#ifdef MING_SUPPORTS_ASM
#if OUTPUT_VERSION > 5
mc1 = createEmptyMovieClip('mc', 1);
=== modified file 'testsuite/misc-ming.all/intervalTest.as'
--- a/testsuite/misc-ming.all/intervalTest.as 2008-05-07 12:31:59 +0000
+++ b/testsuite/misc-ming.all/intervalTest.as 2008-07-17 17:08:04 +0000
@@ -86,8 +86,8 @@
this_counter = 0;
this_timer = getTimer();
-this_ms = 0.0001;
-this_interval = setInterval(do_this, 0.0001);
+this_ms = 1; // 0.0001;
+this_interval = setInterval(do_this, 1); // 0.0001);
check_equals(this_interval, 1);
that_counter = 0;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9498: testsuite fixes, flv meta tag dumping,
Sandro Santilli <=