mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
tests: add audio and video orc tests
This commit is contained in:
parent
8c5ce3adb8
commit
dfbe9b43c7
1 changed files with 15 additions and 1 deletions
|
@ -77,7 +77,7 @@ check_subparse =
|
|||
endif
|
||||
|
||||
if HAVE_ORC
|
||||
check_orc = 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
|
||||
else
|
||||
check_orc =
|
||||
endif
|
||||
|
@ -451,6 +451,12 @@ pipelines_simple_launch_lines_LDADD = \
|
|||
$(GST_BASE_LIBS) \
|
||||
$(LDADD)
|
||||
|
||||
orc_video_CFLAGS = $(ORC_CFLAGS)
|
||||
orc_video_LDADD = $(ORC_LIBS) -lorc-test-0.4
|
||||
nodist_orc_video_SOURCES = orc/video.c
|
||||
orc_audio_CFLAGS = $(ORC_CFLAGS)
|
||||
orc_audio_LDADD = $(ORC_LIBS) -lorc-test-0.4
|
||||
nodist_orc_audio_SOURCES = orc/audio.c
|
||||
orc_adder_CFLAGS = $(ORC_CFLAGS)
|
||||
orc_adder_LDADD = $(ORC_LIBS) -lorc-test-0.4
|
||||
nodist_orc_adder_SOURCES = orc/adder.c
|
||||
|
@ -467,6 +473,14 @@ orc_videotestsrc_CFLAGS = $(ORC_CFLAGS)
|
|||
orc_videotestsrc_LDADD = $(ORC_LIBS) -lorc-test-0.4
|
||||
nodist_orc_videotestsrc_SOURCES = orc/videotestsrc.c
|
||||
|
||||
orc/video.c: $(top_srcdir)/gst-libs/gst/video/video-orc.orc
|
||||
$(MKDIR_P) orc/
|
||||
$(ORCC) --test -o $@ $<
|
||||
|
||||
orc/audio.c: $(top_srcdir)/gst-libs/gst/audio/gstaudiopack.orc
|
||||
$(MKDIR_P) orc/
|
||||
$(ORCC) --test -o $@ $<
|
||||
|
||||
orc/adder.c: $(top_srcdir)/gst/adder/gstadderorc.orc
|
||||
$(MKDIR_P) orc/
|
||||
$(ORCC) --test -o $@ $<
|
||||
|
|
Loading…
Reference in a new issue