gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r10047: make less verbose, it works n


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r10047: make less verbose, it works now.
Date: Thu, 26 Mar 2009 10:46:43 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10047
committer: address@hidden
branch nick: rtmp
timestamp: Thu 2009-03-26 10:46:43 -0600
message:
  make less verbose, it works now.
modified:
  libamf/amf_msg.cpp
  libcore/asobj/NetConnection_as.cpp
  libnet/cque.cpp
=== modified file 'libamf/amf_msg.cpp'
--- a/libamf/amf_msg.cpp        2009-03-20 00:00:54 +0000
+++ b/libamf/amf_msg.cpp        2009-03-26 16:46:43 +0000
@@ -189,10 +189,12 @@
 boost::shared_ptr<AMF_msg::context_header_t>
 AMF_msg::parseAMFPacket(boost::uint8_t *data, size_t size)
 {
-//    GNASH_REPORT_FUNCTION;
+    GNASH_REPORT_FUNCTION;
 //    _messages.push_back();
     boost::uint8_t *ptr = data + sizeof(AMF_msg::context_header_t);
     boost::shared_ptr<context_header_t> header = 
AMF_msg::parseContextHeader(data, size);
+
+//     log_debug("%s: %s", __PRETTY_FUNCTION__, hexify(data, size, true));
     
     AMF amf;
     /// Read all the messages from the AMF packet

=== modified file 'libcore/asobj/NetConnection_as.cpp'
--- a/libcore/asobj/NetConnection_as.cpp        2009-03-25 22:36:02 +0000
+++ b/libcore/asobj/NetConnection_as.cpp        2009-03-26 16:46:43 +0000
@@ -314,7 +314,7 @@
                port = gnash::RTMPT_PORT;
            }
            _http_client.reset(new HTTP);
-           _http_client->toggleDebug(true);
+//         _http_client->toggleDebug(true);
            if (!_http_client->createClient(url.hostname(), port)) {
                log_error("Can't connect to server %s on port %hd",
                          url.hostname(), port);
@@ -740,7 +740,7 @@
        HTTP *http = reinterpret_cast<HTTP *>(args->network);;
        amf::AMF amf;
        boost::uint8_t *data = http->processHeaderFields(*buf);
-       http->dump();
+//             http->dump();
        size_t length = http->getContentLength();
        if (http->getField("transfer-encoding") == "chunked") {
            chunked = true;

=== modified file 'libnet/cque.cpp'
--- a/libnet/cque.cpp   2009-03-25 22:30:54 +0000
+++ b/libnet/cque.cpp   2009-03-26 16:46:43 +0000
@@ -93,7 +93,7 @@
 bool
 CQue::push(boost::shared_ptr<amf::Buffer> data)
 {
-    GNASH_REPORT_FUNCTION;
+//     GNASH_REPORT_FUNCTION;
     boost::mutex::scoped_lock lock(_mutex);
     _que.push_back(data);
 #ifdef USE_STATS_QUEUE
@@ -233,7 +233,7 @@
     for (que_t::iterator i=from; i!=to; ++i) {
 //     log_debug("%s: copying %d bytes, space left is %d, totalsize is %d", 
__PRETTY_FUNCTION__,
 //               (*i)->allocated(), newbuf->spaceLeft(), totalsize);
-//     (*i)->dump();
+//     (*i)->dump();
 //     if (newbuf->spaceLeft() >= (*i)->allocated()) {
            *newbuf += *i;
 //     }


reply via email to

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