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:16:57 +0000

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

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

Log message:
        Rotate video by 45 degrees. Both AGG and Opengl fail !

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

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.3450
retrieving revision 1.3451
diff -u -b -r1.3450 -r1.3451
--- ChangeLog   4 Jun 2007 18:06:55 -0000       1.3450
+++ ChangeLog   4 Jun 2007 18:16:57 -0000       1.3451
@@ -3,8 +3,9 @@
        * 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.
+         supporting sub-SWF rate videos; Scale video by 120% and rotate 45
+         degrees clockwise to verify video transform
+         bugs (not automated yet); documented expected behaviour.
 
 2007-06-04  Rob Savoye  <address@hidden>
 

Index: testsuite/misc-ming.all/NetStream-SquareTest.c
===================================================================
RCS file: /sources/gnash/gnash/testsuite/misc-ming.all/NetStream-SquareTest.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- testsuite/misc-ming.all/NetStream-SquareTest.c      4 Jun 2007 18:06:56 
-0000       1.9
+++ testsuite/misc-ming.all/NetStream-SquareTest.c      4 Jun 2007 18:16:57 
-0000       1.10
@@ -22,8 +22,8 @@
  *
  * Expected behaviour:
  *
- *   Shows a 90x90 pixels red square moving from left to right over
- *   a 255x200 yellow background.
+ *   Shows a 54x54 pixels red square moving from left to right over
+ *   a 152x120 yellow background. The whole thing rotated by 45 degrees 
clockwise.
  */
 
 #include <stdlib.h>
@@ -79,8 +79,11 @@
        "nc.connect(null);"
        "stream = new NetStream(nc);"
        "video.attachVideo(stream); "
-       "video._xscale = 200;"
-       "video._yscale = 200;"
+       "video._x = 100;"
+       "video._1 = 100;"
+       "video._xscale = 120;"
+       "video._yscale = 120;"
+       "video._rotation = 45;"
        "stream.setBufferTime(2); "
        "stream.play('%s');"
        "stop();",
@@ -101,7 +104,7 @@
 
   dejagnuclip = get_dejagnu_clip((SWFBlock)get_default_font(mediadir), 10, 0, 
0, 800, 600);
   item = SWFMovie_add(mo, (SWFBlock)dejagnuclip);
-  SWFDisplayItem_moveTo(item, 0, 200);
+  SWFDisplayItem_moveTo(item, 0, 250);
   SWFMovie_nextFrame(mo); 
  
   stream = newSWFVideoStream();




reply via email to

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