summaryrefslogtreecommitdiff
path: root/tests/bufspeed/test2.c
blob: 17823ec6a04524e85e1601f7afac222bbf511b47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <gst/gst.h>

int
main (int argc, char *argv[])
{
  GstBuffer *buf;
  guint i;

  gst_init (&argc, &argv);

  for (i = 0; i < 5000000; i++) {
    buf = gst_buffer_new ();
    gst_buffer_unref (buf);
  }

  return 0;
}