From 56e01a0365c374049b5aee25c55a8859413093b8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 12 Jun 2008 15:47:03 +0000 Subject: 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. --- gst-libs/gst/app/gstappsrc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'gst-libs/gst/app/gstappsrc.h') diff --git a/gst-libs/gst/app/gstappsrc.h b/gst-libs/gst/app/gstappsrc.h index f8173dc9..21426712 100644 --- a/gst-libs/gst/app/gstappsrc.h +++ b/gst-libs/gst/app/gstappsrc.h @@ -71,6 +71,7 @@ struct _GstAppSrc GstAppStreamType stream_type; guint64 max_bytes; GstFormat format; + gboolean block; gboolean flushing; gboolean started; -- cgit v1.2.1