mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
tests: add memory example
This commit is contained in:
parent
8ac900a515
commit
b2b934a928
5 changed files with 22 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -15,6 +15,7 @@ always_dirs = \
|
|||
controller \
|
||||
helloworld \
|
||||
manual \
|
||||
memory \
|
||||
metadata \
|
||||
queue \
|
||||
stepping \
|
||||
|
|
2
tests/examples/memory/.gitignore
vendored
Normal file
2
tests/examples/memory/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
memory_test
|
||||
*.gcno
|
4
tests/examples/memory/Makefile.am
Normal file
4
tests/examples/memory/Makefile.am
Normal file
|
@ -0,0 +1,4 @@
|
|||
noinst_PROGRAMS = memory_test
|
||||
|
||||
memory_test_LDADD = $(GST_OBJ_LIBS)
|
||||
memory_test_CFLAGS = $(GST_OBJ_CFLAGS)
|
14
tests/examples/memory/memory_test.c
Normal file
14
tests/examples/memory/memory_test.c
Normal 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;
|
||||
}
|
Loading…
Reference in a new issue