tests: add orc test for videoconvert
authorWim Taymans <wtaymans@redhat.com>
Mon, 22 Sep 2014 08:42:47 +0000 (10:42 +0200)
committerWim Taymans <wtaymans@redhat.com>
Mon, 22 Sep 2014 08:42:47 +0000 (10:42 +0200)
tests/check/Makefile.am

index 698bad4..2168baa 100644 (file)
@@ -140,7 +140,8 @@ check_adder =
 endif
 
 if HAVE_ORC
-check_orc = orc/video orc/audio orc/adder orc/audioconvert orc/volume orc/videoscale orc/videotestsrc
+check_orc = orc/video orc/audio orc/adder orc/audioconvert orc/volume orc/videoscale orc/videotestsrc \
+           orc/videoconvert
 else
 check_orc =
 endif
@@ -637,6 +638,9 @@ nodist_orc_videoscale_SOURCES = orc/videoscale.c
 orc_videotestsrc_CFLAGS = $(ORC_CFLAGS)
 orc_videotestsrc_LDADD = $(ORC_LIBS) -lorc-test-0.4
 nodist_orc_videotestsrc_SOURCES = orc/videotestsrc.c
+orc_videoconvert_CFLAGS = $(ORC_CFLAGS)
+orc_videoconvert_LDADD = $(ORC_LIBS) -lorc-test-0.4
+nodist_orc_videoconvert_SOURCES = orc/videoconvert.c
 
 orc/video.c: $(top_srcdir)/gst-libs/gst/video/video-orc.orc
        $(MKDIR_P) orc/
@@ -666,6 +670,10 @@ orc/videotestsrc.c: $(top_srcdir)/gst/videotestsrc/gstvideotestsrcorc.orc
        $(MKDIR_P) orc/
        $(ORCC) --test -o $@ $<
 
+orc/videoconvert.c: $(top_srcdir)/gst/videoconvert/gstvideoconvertorc.orc
+       $(MKDIR_P) orc/
+       $(ORCC) --test -o $@ $<
+
 
 distclean-local-orc:
        rm -rf orc