gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r10352: Minor correction to video pr


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r10352: Minor correction to video properties, swfdec test pass.
Date: Tue, 25 Nov 2008 16:36:48 +0100
User-agent: Bazaar (1.5)

------------------------------------------------------------
revno: 10352
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Tue 2008-11-25 16:36:48 +0100
message:
  Minor correction to video properties, swfdec test pass.
modified:
  libcore/Video.cpp
  testsuite/swfdec/PASSING
    ------------------------------------------------------------
    revno: 10350.1.1
    committer: Benjamin Wolsey <address@hidden>
    branch nick: test
    timestamp: Tue 2008-11-25 16:14:06 +0100
    message:
      Enumerate video properties.
    modified:
      libcore/Video.cpp
=== modified file 'libcore/Video.cpp'
--- a/libcore/Video.cpp 2008-11-12 09:23:42 +0000
+++ b/libcore/Video.cpp 2008-11-25 15:14:06 +0000
@@ -357,10 +357,14 @@
 void
 attachPrototypeProperties(as_object& proto)
 {
-    proto.init_property("deblocking", &video_deblocking, &video_deblocking);
-    proto.init_property("smoothing", &video_smoothing, &video_smoothing);
-    proto.init_property("height", &video_height, &video_height);
-    proto.init_property("width", &video_width, &video_width);
+    const int flags = as_prop_flags::dontDelete |
+        as_prop_flags::readOnly;
+
+    proto.init_property("deblocking", &video_deblocking, &video_deblocking,
+            flags);
+    proto.init_property("smoothing", &video_smoothing, &video_smoothing, 
flags);
+    proto.init_property("height", &video_height, &video_height, flags);
+    proto.init_property("width", &video_width, &video_width, flags);
 }
 
 void

=== modified file 'testsuite/swfdec/PASSING'
--- a/testsuite/swfdec/PASSING  2008-11-25 11:44:58 +0000
+++ b/testsuite/swfdec/PASSING  2008-11-25 15:36:48 +0000
@@ -1160,6 +1160,7 @@
 undefinedtrace-v7.swf:
 undefinedtrace-v8.swf:
 unloadmovie-simple-5.swf:3b897f539cb7eb764692def6fcc62853
+video-enumerate.swf:5eced177f03fc88bccb99f0acd2d2f7d
 video-properties-6.swf:95109f25a5cac0fe2d18628dcea22633
 video-properties-7.swf:64f07e267ae93cdefec5c51c3fc9981d
 video-properties-8.swf:389ff730a73ec2c24f107abe9de0fa61


reply via email to

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