examples/app/: Add beefed up example app from bug #413418. It now also uses appsink...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 12 Jun 2008 15:47:03 +0000 (15:47 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 12 Jun 2008 15:47:03 +0000 (15:47 +0000)
commit56e01a0365c374049b5aee25c55a8859413093b8
tree8831d3f8eac9050d5728e00cc0df06fa42d4f1d8
parent917583d75a676d77ba8f28da5279a987ae3e81bd
examples/app/: Add beefed up example app from bug #413418. It now also uses appsink instead of fakesink for more ulti...

Original commit message from CVS:
* examples/app/.cvsignore:
* examples/app/Makefile.am:
* examples/app/appsink-src.c: (on_new_buffer_from_source),
(on_source_message), (on_sink_message), (main):
Add beefed up example app from bug #413418. It now also uses appsink
instead of fakesink for more ultimate coolness.
* gst-libs/gst/app/gstappsrc.c: (gst_app_src_class_init),
(gst_app_src_init), (gst_app_src_set_property),
(gst_app_src_get_property), (gst_app_src_unlock),
(gst_app_src_unlock_stop), (gst_app_src_create),
(gst_app_src_set_max_bytes), (gst_app_src_push_buffer),
(gst_app_src_end_of_stream):
* gst-libs/gst/app/gstappsrc.h:
Add block property to allow push based implementation to block when we
fill up the appsrc queues.
Emit the enough-data signal while releasing our lock.
ChangeLog
examples/app/.gitignore
examples/app/Makefile.am
examples/app/appsink-src.c [new file with mode: 0644]
gst-libs/gst/app/gstappsrc.c
gst-libs/gst/app/gstappsrc.h