gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] /srv/bzr/gnash/trunk r9603: Decode the MetaData tag in th


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r9603: Decode the MetaData tag in the video stream. FLVParser needs to be fixed to pass in the entire packet before this will work 100%.
Date: Fri, 15 Aug 2008 13:20:16 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 9603
committer: address@hidden
branch nick: trunk
timestamp: Fri 2008-08-15 13:20:16 -0600
message:
  Decode the MetaData tag in the video stream. FLVParser needs to be fixed to 
pass in the entire packet before this will work 100%.
modified:
  libmedia/FLVParser.cpp
=== modified file 'libmedia/FLVParser.cpp'
--- a/libmedia/FLVParser.cpp    2008-07-17 18:02:14 +0000
+++ b/libmedia/FLVParser.cpp    2008-08-15 19:20:16 +0000
@@ -20,6 +20,8 @@
 
 #include "FLVParser.h"
 #include "amf.h"
+#include "element.h"
+#include "flv.h"
 #include "log.h"
 #include "utility.h"
 #include "GnashException.h"
@@ -448,6 +450,9 @@
                }
                std::string dump = hexify(metaTag.get(), actuallyRead, false);
                log_unimpl("FLV MetaTag parser. Data: %s", dump);
+                amf::Flv flv;
+                amf::Element *el = flv.decodeMetaData(metaTag.get(), 
actuallyRead);
+                el->dump();
                /*
                amf::AMF* amfParser = new amf::AMF();
                amfParser->parseAMF(metaTag);*/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]