mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 12:10:37 +00:00
593d4b1af3
Original commit message from CVS: * examples/app/Makefile.am: * examples/app/appsrc-ra.c: (feed_data), (seek_data), (found_source), (bus_message), (main): * examples/app/appsrc-seekable.c: (feed_data), (seek_data), (found_source), (bus_message), (main): * examples/app/appsrc-stream2.c: (feed_data), (found_source), (bus_message), (main): Added 3 more example application for using appsrc in random-access mode, pull-mode streaming and pull mode seekable. * gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init), (gst_app_src_start), (gst_app_src_do_get_size), (gst_app_src_create): * gst-libs/gst/app/gstappsrc.h: Make stream-type property writable. Unset flushing when starting so that we reuse appsrc. Inform basesrc about the configured size. Emit seek-data signal when we are going to a different offset in random-access mode.
25 lines
795 B
Makefile
25 lines
795 B
Makefile
|
|
noinst_PROGRAMS = appsrc_ex appsrc-stream appsrc-stream2 appsrc-ra \
|
|
appsrc-seekable
|
|
|
|
appsrc_ex_SOURCES = appsrc_ex.c
|
|
appsrc_ex_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS)
|
|
appsrc_ex_LDFLAGS = \
|
|
$(GST_LIBS) \
|
|
$(top_builddir)/gst-libs/gst/app/libgstapp-@GST_MAJORMINOR@.la
|
|
|
|
appsrc_stream_SOURCES = appsrc-stream.c
|
|
appsrc_stream_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS)
|
|
appsrc_stream_LDFLAGS = $(GST_LIBS)
|
|
|
|
appsrc_stream2_SOURCES = appsrc-stream2.c
|
|
appsrc_stream2_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS)
|
|
appsrc_stream2_LDFLAGS = $(GST_LIBS)
|
|
|
|
appsrc_ra_SOURCES = appsrc-ra.c
|
|
appsrc_ra_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS)
|
|
appsrc_ra_LDFLAGS = $(GST_LIBS)
|
|
|
|
appsrc_seekable_SOURCES = appsrc-seekable.c
|
|
appsrc_seekable_CFLAGS = $(GST_CFLAGS) $(GCONF_CFLAGS)
|
|
appsrc_seekable_LDFLAGS = $(GST_LIBS)
|