mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
da1b2a0a6f
Original commit message from CVS: * ext/gio/gstgio.h: Add macro to check if a stream supports seeking. * ext/gio/Makefile.am: * ext/gio/gstgiobasesink.c: (gst_gio_base_sink_base_init), (gst_gio_base_sink_class_init), (gst_gio_base_sink_init), (gst_gio_base_sink_finalize), (gst_gio_base_sink_start), (gst_gio_base_sink_stop), (gst_gio_base_sink_unlock), (gst_gio_base_sink_unlock_stop), (gst_gio_base_sink_event), (gst_gio_base_sink_render), (gst_gio_base_sink_query), (gst_gio_base_sink_set_stream): * ext/gio/gstgiobasesink.h: * ext/gio/gstgiobasesrc.c: (gst_gio_base_src_base_init), (gst_gio_base_src_class_init), (gst_gio_base_src_init), (gst_gio_base_src_finalize), (gst_gio_base_src_start), (gst_gio_base_src_stop), (gst_gio_base_src_get_size), (gst_gio_base_src_is_seekable), (gst_gio_base_src_unlock), (gst_gio_base_src_unlock_stop), (gst_gio_base_src_check_get_range), (gst_gio_base_src_create), (gst_gio_base_src_set_stream): * ext/gio/gstgiobasesrc.h: Refactor common GIO functions to GstGioBaseSink and GstGioBaseSrc base classes that only require a GInputStream or GOutputStream to work. * ext/gio/gstgiosink.c: (gst_gio_sink_base_init), (gst_gio_sink_class_init), (gst_gio_sink_init), (gst_gio_sink_finalize), (gst_gio_sink_start): * ext/gio/gstgiosink.h: * ext/gio/gstgiosrc.c: (gst_gio_src_base_init), (gst_gio_src_class_init), (gst_gio_src_init), (gst_gio_src_finalize), (gst_gio_src_start): * ext/gio/gstgiosrc.h: Use the newly created base classes here. * ext/gio/gstgio.c: (plugin_init): * ext/gio/gstgiostreamsink.c: (gst_gio_stream_sink_base_init), (gst_gio_stream_sink_class_init), (gst_gio_stream_sink_init), (gst_gio_stream_sink_finalize), (gst_gio_stream_sink_set_property), (gst_gio_stream_sink_get_property): * ext/gio/gstgiostreamsink.h: * ext/gio/gstgiostreamsrc.c: (gst_gio_stream_src_base_init), (gst_gio_stream_src_class_init), (gst_gio_stream_src_init), (gst_gio_stream_src_finalize), (gst_gio_stream_src_set_property), (gst_gio_stream_src_get_property): * ext/gio/gstgiostreamsrc.h: Implement GstGioStreamSink and GstGioStreamSrc that have a property to set the GInputStream/GOutputStream that should be used. * tests/check/Makefile.am: * tests/check/pipelines/.cvsignore: * tests/check/pipelines/gio.c: (message_handler), (GST_START_TEST), (gio_testsuite), (main): Add unit test for giostreamsrc and giostreamsink.
88 lines
2 KiB
Makefile
88 lines
2 KiB
Makefile
include $(top_srcdir)/common/check.mak
|
|
|
|
CHECK_REGISTRY = $(top_builddir)/tests/check/test-registry.reg
|
|
|
|
GST_TOOLS_DIR = $(top_builddir)/tools
|
|
|
|
REGISTRY_ENVIRONMENT = \
|
|
GST_REGISTRY=$(CHECK_REGISTRY)
|
|
|
|
# FIXME: the PLUGIN_PATH has a hack to reach good for now
|
|
# decide if it's worth it to add a .pc file for this, plus a dependancy on it
|
|
TESTS_ENVIRONMENT = \
|
|
$(REGISTRY_ENVIRONMENT) \
|
|
GST_PLUGIN_SYSTEM_PATH= \
|
|
GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/sys:$(top_builddir)/ext:$(GSTPB_PLUGINS_DIR):$(GST_PLUGINS_DIR) \
|
|
STATE_IGNORE_ELEMENTS="glimagesink"
|
|
|
|
plugindir = $(libdir)/gstreamer-@GST_MAJORMINOR@
|
|
|
|
# override to _not_ install the test plugins
|
|
install-pluginLTLIBRARIES:
|
|
|
|
# the core dumps of some machines have PIDs appended
|
|
CLEANFILES = core.* test-registry.*
|
|
|
|
SUPPRESSIONS = $(top_srcdir)/common/gst.supp $(srcdir)/gst-plugins-bad.supp
|
|
|
|
clean-local: clean-local-check
|
|
|
|
if USE_GIO
|
|
check_gio = pipelines/gio
|
|
else
|
|
check_gio =
|
|
endif
|
|
|
|
if USE_MPEG2ENC
|
|
check_mpeg2enc = elements/mpeg2enc
|
|
else
|
|
check_mpeg2enc =
|
|
endif
|
|
|
|
if USE_NEON
|
|
check_neon = elements/neonhttpsrc
|
|
else
|
|
check_neon =
|
|
endif
|
|
|
|
if USE_TIMIDITY
|
|
check_timidity=elements/timidity
|
|
else
|
|
check_timidity=
|
|
endif
|
|
|
|
|
|
VALGRIND_TO_FIX = \
|
|
elements/mpeg2enc
|
|
|
|
# valgrind testing
|
|
VALGRIND_TESTS_DISABLE = \
|
|
$(VALGRIND_TO_FIX)
|
|
|
|
check_PROGRAMS = \
|
|
generic/states \
|
|
$(check_gio) \
|
|
$(check_mpeg2enc) \
|
|
$(check_neon) \
|
|
$(check_timidity) \
|
|
elements/bpwsinc \
|
|
elements/interleave \
|
|
elements/lpwsinc \
|
|
elements/multifile \
|
|
elements/rganalysis \
|
|
elements/rglimiter \
|
|
elements/rgvolume \
|
|
elements/spectrum \
|
|
elements/y4menc
|
|
|
|
TESTS = $(check_PROGRAMS)
|
|
|
|
AM_CFLAGS = $(GST_OBJ_CFLAGS) $(GST_CHECK_CFLAGS) $(CHECK_CFLAGS)
|
|
LDADD = $(GST_OBJ_LIBS) $(GST_CHECK_LIBS) $(CHECK_LIBS)
|
|
|
|
elements_timidity_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
|
|
elements_timidity_LDADD = $(GST_BASE_LIBS) $(LDADD)
|
|
|
|
pipelines_gio_CFLAGS = $(GIO_CFLAGS) $(AM_CFLAGS)
|
|
pipelines_gio_LDADD = $(GIO_LIBS) $(LDADD)
|
|
|