mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
variety is spicy
Original commit message from CVS: variety is spicy
This commit is contained in:
parent
58d2d2798c
commit
8b9fcbd5df
4 changed files with 26 additions and 22 deletions
|
@ -10,7 +10,8 @@ gboolean can_quit = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink;
|
||||
GstElement *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
@ -32,7 +33,7 @@ construct_pipeline (GstElement *pipeline, gint identities)
|
|||
}
|
||||
gst_element_connect (identity, sink);
|
||||
|
||||
g_object_set (G_OBJECT (src), "num_buffers", 2, "sizetype", 3, NULL);
|
||||
g_object_set (G_OBJECT (src), "num_buffers", 1, "sizetype", 3, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -64,7 +65,7 @@ main (gint argc, gchar *argv[])
|
|||
|
||||
gst_init (&argc, &argv);
|
||||
|
||||
for (i = 0; i < runs; ++i)
|
||||
for (i = 90; i < runs; ++i)
|
||||
{
|
||||
thread = gst_thread_new ("main_thread");
|
||||
g_assert (thread);
|
||||
|
|
|
@ -16,7 +16,8 @@ gboolean done = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink;
|
||||
GstElement *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
@ -49,7 +50,7 @@ thread (void)
|
|||
int i;
|
||||
GstElement *pipeline;
|
||||
|
||||
for (i = 50; i < runs; ++i)
|
||||
for (i = 30; i < runs; ++i)
|
||||
{
|
||||
pipeline = gst_pipeline_new ("main_pipeline");
|
||||
g_assert (pipeline);
|
||||
|
|
|
@ -10,7 +10,8 @@ gboolean can_quit = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink;
|
||||
GstElement *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
@ -32,7 +33,7 @@ construct_pipeline (GstElement *pipeline, gint identities)
|
|||
}
|
||||
gst_element_connect (identity, sink);
|
||||
|
||||
g_object_set (G_OBJECT (src), "num_buffers", 2, "sizetype", 3, NULL);
|
||||
g_object_set (G_OBJECT (src), "num_buffers", 1, "sizetype", 3, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -64,7 +65,7 @@ main (gint argc, gchar *argv[])
|
|||
|
||||
gst_init (&argc, &argv);
|
||||
|
||||
for (i = 0; i < runs; ++i)
|
||||
for (i = 90; i < runs; ++i)
|
||||
{
|
||||
thread = gst_thread_new ("main_thread");
|
||||
g_assert (thread);
|
||||
|
|
|
@ -16,7 +16,8 @@ gboolean done = FALSE;
|
|||
static void
|
||||
construct_pipeline (GstElement *pipeline, gint identities)
|
||||
{
|
||||
GstElement *src, *sink, *identity;
|
||||
GstElement *src, *sink;
|
||||
GstElement *identity = NULL;
|
||||
GstElement *from;
|
||||
int i;
|
||||
|
||||
|
@ -49,7 +50,7 @@ thread (void)
|
|||
int i;
|
||||
GstElement *pipeline;
|
||||
|
||||
for (i = 50; i < runs; ++i)
|
||||
for (i = 30; i < runs; ++i)
|
||||
{
|
||||
pipeline = gst_pipeline_new ("main_pipeline");
|
||||
g_assert (pipeline);
|
||||
|
|
Loading…
Reference in a new issue