gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/NetStre...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog testsuite/misc-ming.all/NetStre...
Date: Mon, 04 Jun 2007 18:06:56 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  07/06/04 18:06:56

Modified files:
        .              : ChangeLog 
        testsuite/misc-ming.all: NetStream-SquareTest.c 

Log message:
                * testsuite/misc-ming.all/NetStream-SquareTest.c: set SWF rate 
back to
                  an high value to allow for testing pixel color and also 
testing with
                  eyes what's hard to test when nothing is shown due to Gnash 
not
                  supporting sub-SWF rate videos; Scale video by 200% to verify 
video
                  scaling bugs (not automated yet); documented expected 
behaviour.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3449&r2=1.3450
http://cvs.savannah.gnu.org/viewcvs/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c?cvsroot=gnash&r1=1.8&r2=1.9

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3449
retrieving revision 1.3450
diff -u -b -r1.3449 -r1.3450
--- ChangeLog   4 Jun 2007 18:00:08 -0000       1.3449
+++ ChangeLog   4 Jun 2007 18:06:55 -0000       1.3450
@@ -1,3 +1,11 @@
+2007-06-04 Sandro Santilli <address@hidden>
+
+       * testsuite/misc-ming.all/NetStream-SquareTest.c: set SWF rate back to
+         an high value to allow for testing pixel color and also testing with
+         eyes what's hard to test when nothing is shown due to Gnash not
+         supporting sub-SWF rate videos; Scale video by 200% to verify video
+         scaling bugs (not automated yet); documented expected behaviour.
+
 2007-06-04  Rob Savoye  <address@hidden>
 
        * NEWS, README: Update for upcoming release.

Index: testsuite/misc-ming.all/NetStream-SquareTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- testsuite/misc-ming.all/NetStream-SquareTest.c      22 May 2007 09:49:07 
-0000      1.8
+++ testsuite/misc-ming.all/NetStream-SquareTest.c      4 Jun 2007 18:06:56 
-0000       1.9
@@ -19,6 +19,11 @@
 /*
  * Plays an external FLV video
  * Should be used with the MovieTester to test if the video decoder works.
+ *
+ * Expected behaviour:
+ *
+ *   Shows a 90x90 pixels red square moving from left to right over
+ *   a 255x200 yellow background.
  */
 
 #include <stdlib.h>
@@ -74,6 +79,8 @@
        "nc.connect(null);"
        "stream = new NetStream(nc);"
        "video.attachVideo(stream); "
+       "video._xscale = 200;"
+       "video._yscale = 200;"
        "stream.setBufferTime(2); "
        "stream.play('%s');"
        "stop();",
@@ -86,11 +93,15 @@
   mo = newSWFMovie();
   SWFMovie_setDimension(mo, 800, 600);
 
-  SWFMovie_setRate(mo, 1);
+  // We also want to test that 1FPS of SWF rate doesn't influence
+  // rate of video playback, but for now it's more useful to actually
+  // have something rendered, so check_pixel can eventually do something,
+  // so we run fast...
+  SWFMovie_setRate(mo, 32);
 
   dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(mediadir), 10, 0, 
0, 800, 600);
   item = SWFMovie_add(mo, (SWFBlock)dejagnuclip);
-  SWFDisplayItem_moveTo(item, 0, 100);
+  SWFDisplayItem_moveTo(item, 0, 200);
   SWFMovie_nextFrame(mo); 
  
   stream = newSWFVideoStream();




reply via email to

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