gnash-dev
[Top][All Lists]
Advanced

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

[Gnash-dev] Some fix patch


From: Uriy
Subject: [Gnash-dev] Some fix patch
Date: Tue, 25 Apr 2006 21:29:37 +0400
User-agent: Thunderbird 1.5 (X11/20060207)

1. in help (gnash) type:
-r <0|1|2>  0 disables rendering & sound (good for batch tests)
              1 enables rendering & sound (default setting)
              2 enables rendering & disables sound
but    default r = 0; i fix it.
2. in shape.cpp
sometime tag_type = 2 and this normal.

Index: backend/gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/backend/gnash.cpp,v
retrieving revision 1.26
diff -u -B -b -w -r1.26 gnash.cpp
--- backend/gnash.cpp   18 Apr 2006 14:40:16 -0000      1.26
+++ backend/gnash.cpp   25 Apr 2006 17:07:34 -0000
@@ -235,7 +235,7 @@
     
     float      exit_timeout = 0;
     bool do_render = true;
-    bool do_sound = false;
+    bool do_sound = true;
     bool do_loop = true;
     bool sdl_abort = true;
     int  delay = 31;
Index: plugin/player.cpp
===================================================================
RCS file: /sources/gnash/gnash/plugin/player.cpp,v
retrieving revision 1.13
diff -u -B -b -w -r1.13 player.cpp
--- plugin/player.cpp   24 Apr 2006 23:05:55 -0000      1.13
+++ plugin/player.cpp   25 Apr 2006 17:08:05 -0000
@@ -295,7 +295,7 @@
     
     assert(tu_types_validate());
     float      exit_timeout = 0;
-    bool       do_sound = false;
+    bool       do_sound = true;
     int                delay = 100;    // was 31
 #ifdef TEST_GRAPHIC
     int                retries = 0;
Index: server/shape.cpp
===================================================================
RCS file: /sources/gnash/gnash/server/shape.cpp,v
retrieving revision 1.13
diff -u -B -b -w -r1.13 shape.cpp
--- server/shape.cpp    5 Apr 2006 04:15:34 -0000       1.13
+++ server/shape.cpp    25 Apr 2006 17:08:19 -0000
@@ -934,6 +934,8 @@
                if (SHAPE_LOG) IF_VERBOSE_PARSE(log_msg("  
shape_character_read: line = %d\n", current_path.m_line));
            }
            if (flags & 0x10) {
+               if (tag_type == 2)
+                   tag_type+=20;
                assert(tag_type >= 22);
 
                IF_VERBOSE_PARSE(log_msg("  shape_character read: more fill 
styles\n"));

reply via email to

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