diff options
author | gb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969> | 2010-04-23 16:11:55 +0000 |
---|---|---|
committer | Gwenole Beauchesne <gbeauchesne@splitted-desktop.com> | 2010-09-20 12:55:23 +0200 |
commit | 62358dce926601cbe10b58d66fb899c2a4e61e07 (patch) | |
tree | a072a0160ccffb974f941480131b4376037de944 /tests/Makefile.am | |
parent | a203d19a35f2d5f64f4f239e1c6519fb21424094 (diff) | |
download | gst-vaapi-62358dce926601cbe10b58d66fb899c2a4e61e07.tar.gz |
Add decoder demos. Use -c (mpeg2|h264|vc1) to select the codec.
XXX: only VC-1 decoding works at this time because of awful
bugs left in GstVaapiDecoderFfmpeg et al.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r-- | tests/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am index 8b3f9bd1..0147c9f1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,4 +1,5 @@ noinst_PROGRAMS = \ + test-decode \ test-display \ test-surfaces \ test-windows \ @@ -34,6 +35,13 @@ if USE_GLX TEST_MIX_LIBS += $(TEST_GLX_LIBS) endif +test_codecs_source_c = test-mpeg2.c test-h264.c test-vc1.c +test_codecs_source_h = $(test_codecs_source_c:%.c=%.h) + +test_decode_SOURCES = test-decode.c $(test_codecs_source_c) +test_decode_CFLAGS = $(TEST_CFLAGS) $(TEST_X11_CFLAGS) +test_decode_LDADD = $(TEST_LIBS) $(TEST_X11_LIBS) + test_display_SOURCES = test-display.c test_display_CFLAGS = $(TEST_CFLAGS) $(TEST_MIX_CFLAGS) test_display_LDADD = $(TEST_LIBS) $(TEST_MIX_LIBS) @@ -50,7 +58,7 @@ test_textures_SOURCES = test-textures.c image.c test_textures_CFLAGS = $(TEST_CFLAGS) $(TEST_GLX_CFLAGS) test_textures_LDADD = $(TEST_LIBS) $(TEST_GLX_LIBS) -EXTRA_DIST = image.h +EXTRA_DIST = image.h $(test_codecs_source_c) $(test_codecs_source_h) # Extra clean files so that maintainer-clean removes *everything* MAINTAINERCLEANFILES = Makefile.in |