Hello,
gnash cannot be started with GStreamer backend since the backend has an
infinite loop.
The compile time warning is:
sound_handler_gst.cpp: In member function 'virtual void
GST_sound_handler::stop_all_sounds()':
sound_handler_gst.cpp:608: warning: comparison of unsigned expression >=
0 is always true
The attachment diff will fix the issue.
Thank you,
Hiroyuki Ikezoe
Index: backend/sound_handler_gst.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/sound_handler_gst.cpp,v
retrieving revision 1.24
diff -d -u -p -r1.24 sound_handler_gst.cpp
--- backend/sound_handler_gst.cpp 30 Oct 2006 16:57:18 -0000 1.24
+++ backend/sound_handler_gst.cpp 31 Oct 2006 06:00:45 -0000
@@ -605,7 +605,7 @@ public:
// for what sounds is associated with what SWF.
virtual void stop_all_sounds()
{
- for (size_t i = m_sound_data.size()-1; i >= 0; i--) //Optimized
+ for (size_t i = m_sound_data.size(); i > 0; i--) //Optimized
stop_sound(i);
}
_______________________________________________
Gnash-dev mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-dev