summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien Lespiau <damien.lespiau@intel.com>2010-09-16 15:04:47 +0100
committerDamien Lespiau <damien.lespiau@intel.com>2010-09-16 15:04:47 +0100
commit7dd2c2b2b78bd2146fff0f84b99b33c342632116 (patch)
tree4c9a1eb8c371696e21bf0673bc2cf797fe39ee5f /tests
parentf0f0310ad9fa11bf9a1bb27e91f571169354e2ae (diff)
video-texture: Respect the pixel aspect ratio of the incoming frames
Video frames come with a pixel-aspect-ratio cap that tells the sink what should be the final size of the video. This information is now given to ClutterGstVideoTexture that derives the preferred width and height based on the base size of the frames and that pixel-aspect-ratio. A new debug category "aspect-ratio" has been created to trace what
Diffstat (limited to 'tests')
-rw-r--r--tests/test-alpha.c1
-rw-r--r--tests/test-rgb-upload.c1
-rw-r--r--tests/test-yuv-upload.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/tests/test-alpha.c b/tests/test-alpha.c
index 9214e90..b577eba 100644
--- a/tests/test-alpha.c
+++ b/tests/test-alpha.c
@@ -150,7 +150,6 @@ main (int argc, char *argv[])
* efficient/corrent playback onto the texture (which sucks a bit)
*/
texture = g_object_new (CLUTTER_TYPE_TEXTURE,
- "sync-size", FALSE,
"disable-slicing", TRUE,
NULL);
clutter_actor_set_opacity (texture, 0);
diff --git a/tests/test-rgb-upload.c b/tests/test-rgb-upload.c
index 273997d..388fa9f 100644
--- a/tests/test-rgb-upload.c
+++ b/tests/test-rgb-upload.c
@@ -136,7 +136,6 @@ main (int argc, char *argv[])
* efficient/corrent playback onto the texture (which sucks a bit)
*/
texture = g_object_new (CLUTTER_TYPE_TEXTURE,
- "sync-size", FALSE,
"disable-slicing", TRUE,
NULL);
diff --git a/tests/test-yuv-upload.c b/tests/test-yuv-upload.c
index a15fc27..f890a82 100644
--- a/tests/test-yuv-upload.c
+++ b/tests/test-yuv-upload.c
@@ -134,7 +134,6 @@ main (int argc, char *argv[])
* efficient/corrent playback onto the texture (which sucks a bit)
*/
texture = g_object_new (CLUTTER_TYPE_TEXTURE,
- "sync-size", FALSE,
"disable-slicing", TRUE,
NULL);