mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 13:08:49 +00:00
f88fbe139d
Original commit message from CVS: Patch by: James "Doc" Livingston <doclivingston at gmail com> * ext/vorbis/Makefile.am: * ext/vorbis/vorbis.c: (plugin_init): * ext/vorbis/vorbisparse.c: (gst_vorbis_parse_class_init), (vorbis_parse_parse_packet), (vorbis_parse_chain): * ext/vorbis/vorbisparse.h: * ext/vorbis/vorbistag.c: (gst_vorbis_tag_base_init), (gst_vorbis_tag_class_init), (gst_vorbis_tag_init), (gst_vorbis_tag_parse_packet): * ext/vorbis/vorbistag.h: Add new vorbistag element which derives from vorbisparse and is essentially the same as well, only that it implements the GstTagSetter interface and can modify the stream's vorbiscomment on the fly (#335635). * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/vorbistag.c: (setup_vorbistag), (cleanup_vorbistag), (buffer_probe), (start_pipeline), (get_buffer), (stop_pipeline), (_create_codebook_header_buffer), (_create_audio_buffer), (GST_START_TEST), (vorbistag_suite): Add unit test for new vorbistag element.
142 lines
3.1 KiB
Makefile
142 lines
3.1 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.xml
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
TESTS_ENVIRONMENT = \
|
|
CK_DEFAULT_TIMEOUT=120 \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GST_PLUGINS_DIR)
|
|
|
|
# ths core dumps of some machines have PIDs appended
|
|
CLEANFILES = core.* test-registry.xml
|
|
|
|
clean-local: clean-local-check
|
|
|
|
$(CHECK_REGISTRY):
|
|
$(TESTS_ENVIRONMENT)
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
if USE_ALSA
|
|
check_alsa = elements/alsa
|
|
else
|
|
check_alsa =
|
|
endif
|
|
|
|
if USE_OGG
|
|
check_ogg = pipelines/oggmux
|
|
else
|
|
check_ogg =
|
|
endif
|
|
|
|
if USE_VORBIS
|
|
check_vorbis = elements/vorbisdec pipelines/vorbisenc elements/vorbistag
|
|
else
|
|
check_vorbis =
|
|
endif
|
|
|
|
if USE_THEORA
|
|
check_theora = pipelines/theoraenc
|
|
else
|
|
check_theora =
|
|
endif
|
|
|
|
check_PROGRAMS = \
|
|
$(check_alsa) \
|
|
$(check_ogg) \
|
|
$(check_vorbis) \
|
|
$(check_theora) \
|
|
elements/adder \
|
|
elements/audioconvert \
|
|
elements/audioresample \
|
|
elements/audiotestsrc \
|
|
elements/gdpdepay \
|
|
elements/gdppay \
|
|
elements/multifdsink \
|
|
elements/videorate \
|
|
elements/videotestsrc \
|
|
elements/volume \
|
|
generic/clock-selection \
|
|
generic/states \
|
|
libs/audio \
|
|
libs/cddabasesrc \
|
|
libs/tag \
|
|
libs/video \
|
|
pipelines/simple-launch-lines
|
|
|
|
# TORTURE_TO_FIX = \
|
|
# elements/adder
|
|
|
|
VALGRIND_TO_FIX = \
|
|
elements/alsa \
|
|
elements/audioresample \
|
|
generic/states \
|
|
libs/video
|
|
|
|
# these tests don't even pass
|
|
noinst_PROGRAMS = \
|
|
elements/ffmpegcolorspace
|
|
|
|
AM_CFLAGS = $(GST_CFLAGS) $(GST_CHECK_CFLAGS)
|
|
LDADD = $(GST_LIBS) $(GST_CHECK_LIBS)
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE = $(VALGRIND_TO_FIX)
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-base.supp
|
|
|
|
libs_audio_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
$(LDADD)
|
|
|
|
libs_cddabasesrc_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/cdda/libgstcdda-@GST_MAJORMINOR@.la \
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
|
|
$(LDADD)
|
|
|
|
libs_tag_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la $(LDADD)
|
|
|
|
elements_alsa_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/interfaces/libgstinterfaces-@GST_MAJORMINOR@.la \
|
|
$(LDADD)
|
|
|
|
elements_audioconvert_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
$(LDADD)
|
|
|
|
elements_gdpdepay_LDADD = $(GST_GDP_LIBS) $(LDADD)
|
|
elements_gdppay_LDADD = $(GST_GDP_LIBS) $(LDADD)
|
|
|
|
elements_volume_LDADD = \
|
|
$(GST_BASE_LIBS) \
|
|
$(LDADD)
|
|
|
|
elements_volume_CFLAGS = \
|
|
$(GST_BASE_CFLAGS) \
|
|
$(AM_CFLAGS)
|
|
|
|
elements_vorbistag_LDADD = \
|
|
$(VORBIS_LIBS) \
|
|
$(LDADD)
|
|
|
|
elements_vorbistag_CFLAGS = \
|
|
$(VORBIS_CFLAGS) \
|
|
$(CFLAGS) $(AM_CFLAGS)
|
|
|
|
libs_video_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_MAJORMINOR@.la \
|
|
$(LDADD)
|
|
|
|
pipelines_oggmux_LDADD = $(LDADD) $(OGG_LIBS)
|
|
pipelines_oggmux_CFLAGS = $(AM_CFLAGS) $(OGG_CFLAGS)
|
|
|
|
pipelines_simple_launch_lines_LDADD = \
|
|
$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
|
|
$(LDADD)
|
|
|
|
EXTRA_DIST = gst-plugins-base.supp
|