gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog server/asobj/NetStream.cpp


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog server/asobj/NetStream.cpp
Date: Tue, 15 May 2007 16:41:37 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/05/15 16:41:37

Modified files:
        .              : ChangeLog 
        server/asobj   : NetStream.cpp 

Log message:
        * server/asobj/NetStream.cpp: warn once about unimplemented stuff.[

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3232&r2=1.3233
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStream.cpp?cvsroot=gnash&r1=1.45&r2=1.46

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3232
retrieving revision 1.3233
diff -u -b -r1.3232 -r1.3233
--- ChangeLog   15 May 2007 16:31:01 -0000      1.3232
+++ ChangeLog   15 May 2007 16:41:36 -0000      1.3233
@@ -1,3 +1,7 @@
+2007-05-15 Sandro Santilli <address@hidden>
+
+       * server/asobj/NetStream.cpp: warn once about unimplemented stuff.
+
 2007-05-15  Rob Savoye  <address@hidden>
 
        * configure.ac: Use C++ compiler instead of C compiler so the

Index: server/asobj/NetStream.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStream.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -b -r1.45 -r1.46
--- server/asobj/NetStream.cpp  15 May 2007 13:01:27 -0000      1.45
+++ server/asobj/NetStream.cpp  15 May 2007 16:41:37 -0000      1.46
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: NetStream.cpp,v 1.45 2007/05/15 13:01:27 tgc Exp $ */
+/* $Id: NetStream.cpp,v 1.46 2007/05/15 16:41:37 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -190,7 +190,12 @@
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
        UNUSED(ns);
 
+       bool warned = false;
+       if ( ! warned ) {
        log_unimpl("NetStream.attachAudio");
+               warned = true;
+       }
+
        return as_value();
 }
 
@@ -199,7 +204,12 @@
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
        UNUSED(ns);
 
+       bool warned = false;
+       if ( ! warned ) {
        log_unimpl("NetStream.attachVideo");
+               warned = true;
+       }
+
        return as_value();
 }
 
@@ -208,7 +218,12 @@
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
        UNUSED(ns);
 
+       bool warned = false;
+       if ( ! warned ) {
        log_unimpl("NetStream.publish");
+               warned = true;
+       }
+
        return as_value();
 }
 
@@ -217,7 +232,12 @@
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
        UNUSED(ns);
 
+       bool warned = false;
+       if ( ! warned ) {
        log_unimpl("NetStream.receiveAudio");
+               warned = true;
+       }
+
        return as_value();
 }
 
@@ -226,7 +246,12 @@
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
        UNUSED(ns);
 
+       bool warned = false;
+       if ( ! warned ) {
        log_unimpl("NetStream.receiveVideo");
+               warned = true;
+       }
+
        return as_value();
 }
 
@@ -235,7 +260,12 @@
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
        UNUSED(ns);
 
+       bool warned = false;
+       if ( ! warned ) {
        log_unimpl("NetStream.send");
+               warned = true;
+       }
+
        return as_value();
 }
 
@@ -277,14 +307,17 @@
 {
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
 
+       bool warned = false;
+       if ( ! warned ) {
+               log_unimpl("NetStream.currentFPS getter/setter");
+               warned = true;
+       }
        if ( fn.nargs == 0 ) // getter
        {
-               log_unimpl("NetStream.currentFPS get");
                return as_value();
        }
        else // setter
        {
-               log_unimpl("NetStream.currentFPS set");
                return as_value();
        }
 }
@@ -295,14 +328,17 @@
 {
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
 
+       bool warned = false;
+       if ( ! warned ) {
+               log_unimpl("NetStream.bufferLength getter/setter");
+               warned = true;
+       }
        if ( fn.nargs == 0 ) // getter
        {
-               log_unimpl("NetStream.bufferLength get");
                return as_value();
        }
        else // setter
        {
-               log_unimpl("NetStream.bufferLength set");
                return as_value();
        }
 }
@@ -323,14 +359,18 @@
 {
        boost::intrusive_ptr<NetStream> ns = ensureType<NetStream>(fn.this_ptr);
 
+       bool warned = false;
+       if ( ! warned ) {
+               log_unimpl("NetStream.liveDelay getter/setter");
+               warned = true;
+       }
+
        if ( fn.nargs == 0 ) // getter
        {
-               log_unimpl("NetStream.liveDelay get");
                return as_value();
        }
        else // setter
        {
-               log_unimpl("NetStream.liveDelay set");
                return as_value();
        }
 }




reply via email to

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