diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2008-04-25 18:18:47 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2008-04-25 18:18:47 +0000 |
commit | e4c57a859a9a10dff53f378a60fb1b3d13fc7636 (patch) | |
tree | 80f0fe56e31d637b8bd5fdd2196507d928f585c4 /gst-libs/gst/app/gstappsink.h | |
parent | a740294f2a6919b6c6ca1cebf71dcdaef1877b9e (diff) | |
download | gst-plugins-bad-e4c57a859a9a10dff53f378a60fb1b3d13fc7636.tar.gz gst-plugins-bad-e4c57a859a9a10dff53f378a60fb1b3d13fc7636.tar.bz2 gst-plugins-bad-e4c57a859a9a10dff53f378a60fb1b3d13fc7636.zip |
gst-libs/gst/app/gstappsink.*: Add more docs.
Original commit message from CVS:
* gst-libs/gst/app/gstappsink.c: (gst_app_sink_class_init),
(gst_app_sink_init), (gst_app_sink_set_property),
(gst_app_sink_get_property), (gst_app_sink_event),
(gst_app_sink_preroll), (gst_app_sink_render),
(gst_app_sink_set_emit_signals), (gst_app_sink_get_emit_signals),
(gst_app_sink_set_max_buffers), (gst_app_sink_get_max_buffers),
(gst_app_sink_pull_buffer):
* gst-libs/gst/app/gstappsink.h:
Add more docs.
Add signals for when preroll and render buffers are available.
Add property to control signal emission.
Add property to control the max queue size.
Diffstat (limited to 'gst-libs/gst/app/gstappsink.h')
-rw-r--r-- | gst-libs/gst/app/gstappsink.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/gst-libs/gst/app/gstappsink.h b/gst-libs/gst/app/gstappsink.h index 9ac0dc84..2614fdb5 100644 --- a/gst-libs/gst/app/gstappsink.h +++ b/gst-libs/gst/app/gstappsink.h @@ -45,6 +45,8 @@ struct _GstAppSink /*< private >*/ GstCaps *caps; + gboolean emit_signals; + guint max_buffers; GCond *cond; GMutex *mutex; @@ -72,13 +74,19 @@ GType gst_app_sink_get_type(void); GST_DEBUG_CATEGORY_EXTERN (app_sink_debug); -void gst_app_sink_set_caps (GstAppSink *appsink, const GstCaps *caps); -GstCaps * gst_app_sink_get_caps (GstAppSink *appsink); +void gst_app_sink_set_caps (GstAppSink *appsink, const GstCaps *caps); +GstCaps * gst_app_sink_get_caps (GstAppSink *appsink); -gboolean gst_app_sink_is_eos (GstAppSink *appsink); +gboolean gst_app_sink_is_eos (GstAppSink *appsink); -GstBuffer * gst_app_sink_pull_preroll (GstAppSink *appsink); -GstBuffer * gst_app_sink_pull_buffer (GstAppSink *appsink); +void gst_app_sink_set_emit_signals (GstAppSink *appsink, gboolean emit); +gboolean gst_app_sink_get_emit_signals (GstAppSink *appsink); + +void gst_app_sink_set_max_buffers (GstAppSink *appsink, guint max); +guint gst_app_sink_get_max_buffers (GstAppSink *appsink); + +GstBuffer * gst_app_sink_pull_preroll (GstAppSink *appsink); +GstBuffer * gst_app_sink_pull_buffer (GstAppSink *appsink); G_END_DECLS |