gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/rtmp r10078: add more comments.


From: rob
Subject: [Gnash-commit] /srv/bzr/gnash/rtmp r10078: add more comments.
Date: Sat, 28 Mar 2009 17:00:37 -0600
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10078
committer: address@hidden
branch nick: rtmp
timestamp: Sat 2009-03-28 17:00:37 -0600
message:
  add more comments.
modified:
  utilities/rtmpget.cpp
=== modified file 'utilities/rtmpget.cpp'
--- a/utilities/rtmpget.cpp     2009-03-28 22:44:11 +0000
+++ b/utilities/rtmpget.cpp     2009-03-28 23:00:37 +0000
@@ -624,9 +624,8 @@
                        log_error("Couldn't decode RTMP message header");
                        continue;
                    }
-                   // The first chunk of data in an FLV file is the onMetaData.
-                   // If we get this type, open the file. Occasionally there 
are
-                   // multiple onMetaData blocks in an FLV, so keep going
+                   // The first chunk of data in an FLV file is the onMetaData 
data block.
+                   // If we get this type, open the file.
                    if (rthead->type == RTMP::NOTIFY) {
                        log_debug("Got a NOTIFY message in FLV file!");
                        if (!fd) {
@@ -651,6 +650,9 @@
                        continue;
                    }
 
+                   // If it's not a Notify, Audio, or Video message, then 
we're still processing
+                   // responses from the NetStream::play() messages. We get 
several before the
+                   // the video starts.
                    RTMPMsg *msg = client.decodeMsgBody(ptr->reference() + 
rthead->head_size, rthead->bodysize);
                    if (msg) {
 //                 msg->dump();


reply via email to

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