gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/server/asobj NetStreamFfmpeg.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash/server/asobj NetStreamFfmpeg.cpp
Date: Tue, 29 May 2007 16:43:43 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/29 16:43:43

Modified files:
        server/asobj   : NetStreamFfmpeg.cpp 

Log message:
        A couple of additional debugging lines

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStreamFfmpeg.cpp?cvsroot=gnash&r1=1.64&r2=1.65

Patches:
Index: NetStreamFfmpeg.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStreamFfmpeg.cpp,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -b -r1.64 -r1.65
--- NetStreamFfmpeg.cpp 29 May 2007 15:52:14 -0000      1.64
+++ NetStreamFfmpeg.cpp 29 May 2007 16:43:43 -0000      1.65
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStreamFfmpeg.cpp,v 1.64 2007/05/29 15:52:14 strk Exp $ */
+/* $Id: NetStreamFfmpeg.cpp,v 1.65 2007/05/29 16:43:43 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -747,7 +747,9 @@
        }
 
        if (frame == NULL) {
-               if (_netCon->loadCompleted()) {
+               if (_netCon->loadCompleted())
+               {
+                       log_debug("decodeFLVFrame: load completed, stopping");
                        // Stop!
                        m_go = false;
                } else {
@@ -1188,11 +1190,14 @@
        //    and we then wait until the buffer contains some data (1 sec) 
again.
        if (m_go && m_pause && m_start_onbuffer && m_parser.get() && 
m_parser->isTimeLoaded(m_bufferTime))
        {
+               log_debug("(advance): setting buffer full");
                setStatus(bufferFull);
                unpauseDecoding();
                m_start_onbuffer = false;
        }
 
+       log_debug("(advance): processing status notification, refreshing video 
frame");
+
        // Check if there are any new status messages, and if we should
        // pass them to a event handler
        processStatusNotifications();
@@ -1218,6 +1223,8 @@
 
 void NetStreamFfmpeg::pauseDecoding()
 {
+       log_msg("pauseDecoding called");
+
        // assert(decoding_mutex is locked by this thread!)
 
        if (m_pause) return;




reply via email to

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