diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2009-06-13 15:03:39 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@intel.com> | 2009-06-13 15:03:39 +0100 |
commit | 1b1dd8e746b071bacf4d2c581e6eeac0f5ce2e68 (patch) | |
tree | 5e3148fbcb7f9bd2249b4aba4643422d7cf5f18c /tests/test-yuv-upload.c | |
parent | ebd36adc11b04d90c5264ad54ca38c6d76f6314f (diff) | |
download | clutter-gst-1b1dd8e746b071bacf4d2c581e6eeac0f5ce2e68.tar.gz |
Make the tests default to 320x240 30fps
These tests can be used to compare clutter-gst performance with plain
gstreamer and the videotestsrc ! xvimagesink pipeline. For a fair
comparison, let's use the same default frame size and rate.
Diffstat (limited to 'tests/test-yuv-upload.c')
-rw-r--r-- | tests/test-yuv-upload.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-yuv-upload.c b/tests/test-yuv-upload.c index 0fd8096..0edc928 100644 --- a/tests/test-yuv-upload.c +++ b/tests/test-yuv-upload.c @@ -2,7 +2,7 @@ #include <clutter-gst/clutter-gst.h> -static gint opt_framerate = 25; +static gint opt_framerate = 30; static gchar *opt_fourcc = "I420"; static GOptionEntry options[] = @@ -93,6 +93,7 @@ main (int argc, char *argv[]) g_option_context_parse (context, &argc, &argv, NULL); stage = clutter_stage_get_default (); + clutter_actor_set_size (CLUTTER_ACTOR(stage), 320.0f, 240.0f); /* We need to set certain props on the target texture currently for * efficient/corrent playback onto the texture (which sucks a bit) @@ -129,7 +130,7 @@ main (int argc, char *argv[]) gst_element_set_state (GST_ELEMENT(pipeline), GST_STATE_PLAYING); clutter_group_add (CLUTTER_GROUP (stage), texture); - // clutter_actor_set_opacity (texture, 0x11); + /* clutter_actor_set_opacity (texture, 0x11); */ clutter_actor_show_all (stage); clutter_main(); |