examples/app/: Added 3 more example application for using appsrc in random-access...
authorWim Taymans <wim.taymans@gmail.com>
Fri, 6 Jun 2008 16:50:51 +0000 (16:50 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Fri, 6 Jun 2008 16:50:51 +0000 (16:50 +0000)
commit593d4b1af343c33f016d2f37fd9453b9c7a33f92
tree527c280b1a1ecd1dd5128abbb0d5842ca94f92ba
parent1cb26cc0e01aa650a164b019bf20cb05c94038a9
examples/app/: Added 3 more example application for using appsrc in random-access mode, pull-mode streaming and pull ...

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.
gst-libs/gst/app/gstappsrc.c
gst-libs/gst/app/gstappsrc.h
tests/examples/app/Makefile.am
tests/examples/app/appsrc-ra.c [new file with mode: 0644]
tests/examples/app/appsrc-seekable.c [new file with mode: 0644]
tests/examples/app/appsrc-stream2.c [new file with mode: 0644]