tests: add memory example

This commit is contained in:
Wim Taymans 2012-07-05 14:25:13 +02:00
parent 8ac900a515
commit b2b934a928
5 changed files with 22 additions and 0 deletions

View file

@ -763,6 +763,7 @@ tests/examples/stepping/Makefile
tests/examples/helloworld/Makefile
tests/examples/launch/Makefile
tests/examples/manual/Makefile
tests/examples/memory/Makefile
tests/examples/metadata/Makefile
tests/examples/queue/Makefile
tests/examples/streams/Makefile

View file

@ -15,6 +15,7 @@ always_dirs = \
controller \
helloworld \
manual \
memory \
metadata \
queue \
stepping \

2
tests/examples/memory/.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
memory_test
*.gcno

View file

@ -0,0 +1,4 @@
noinst_PROGRAMS = memory_test
memory_test_LDADD = $(GST_OBJ_LIBS)
memory_test_CFLAGS = $(GST_OBJ_CFLAGS)

View file

@ -0,0 +1,14 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <sys/times.h>
#include <gst/gst.h>
int
main (int argc, char **argv)
{
gst_init (&argc, &argv);
return 0;
}