gnash-commit
[Top][All Lists]
Advanced

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

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


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/server/asobj NetStream.cpp
Date: Tue, 07 Nov 2006 16:38:38 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Vitaly Alexeev <alexeev>        06/11/07 16:38:38

Modified files:
        server/asobj   : NetStream.cpp 

Log message:
                * backend\render_handler_ogl.cpp:  The elementary yuv-video 
opengl
                render which should work on all platform (very slow)
                * libbase\URL.cpp: #include <sys/param.h> removed for win32
                * server\asobj\NetStream.cpp: a bit cleunup

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/server/asobj/NetStream.cpp?cvsroot=gnash&r1=1.14&r2=1.15

Patches:
Index: NetStream.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/asobj/NetStream.cpp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- NetStream.cpp       3 Nov 2006 16:29:09 -0000       1.14
+++ NetStream.cpp       7 Nov 2006 16:38:38 -0000       1.15
@@ -18,7 +18,7 @@
 //
 //
 
-/* $Id: NetStream.cpp,v 1.14 2006/11/03 16:29:09 alexeev Exp $ */
+/* $Id: NetStream.cpp,v 1.15 2006/11/07 16:38:38 alexeev Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -62,6 +62,7 @@
        m_yuv(NULL),
        m_video_clock(0)
 {
+       m_thread.p = NULL;
 }
 
 NetStream::~NetStream()
@@ -75,7 +76,8 @@
        m_go = false;
 
        // wait till thread is complete before main continues
-       pthread_join(m_thread, NULL);
+       if (m_thread.p) pthread_join(m_thread, NULL);
+       m_thread.p = NULL;
 
        sound_handler* s = get_sound_handler();
        if (s)




reply via email to

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