CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/12/01 21:49:19

Modified files:
        libmedia/gst   : sound_handler_gst.cpp 

Log message:
        Oops, don't make a new pipeline for an already existing aux streamer

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/libmedia/gst/sound_handler_gst.cpp?cvsroot=gnash&r1=1.6&r2=1.7

Patches:
Index: sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/libmedia/gst/sound_handler_gst.cpp,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- sound_handler_gst.cpp       1 Dec 2007 21:17:44 -0000       1.6
+++ sound_handler_gst.cpp       1 Dec 2007 21:49:19 -0000       1.7
@@ -20,7 +20,7 @@
 // Based on sound_handler_sdl.cpp by Thatcher Ulrich http://tulrich.com 2003
 // which has been donated to the Public Domain.
 
-/* $Id: sound_handler_gst.cpp,v 1.6 2007/12/01 21:17:44 strk Exp $ */
+/* $Id: sound_handler_gst.cpp,v 1.7 2007/12/01 21:49:19 strk Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -659,7 +659,7 @@
        assert(owner);
        assert(ptr);
 
-       if ( m_aux_streamer.insert(std::make_pair(owner, ptr)).second )
+       if ( ! m_aux_streamer.insert(std::make_pair(owner, ptr)).second )
        {
                // Already in the hash.
                return;


_______________________________________________
Gnash-commit mailing list
Gnash-commit@gnu.org
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to