diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-01-10 18:51:39 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2011-01-20 16:27:16 +0100 |
commit | b7cb11ac99d04c95238058e5588df2319e672d7d (patch) | |
tree | 60a75f332e57e7e162aea4d3ca6a48c5c97b5249 | |
parent | 93e0d881b0b8a414f1dc18bb71f5da1b8fb25559 (diff) |
manager: add buffer stratregiesstate-manager
-rw-r--r-- | gst/gststatemanager.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gst/gststatemanager.h b/gst/gststatemanager.h index da5027e97..39a2a7e3d 100644 --- a/gst/gststatemanager.h +++ b/gst/gststatemanager.h @@ -40,6 +40,22 @@ G_BEGIN_DECLS #define GST_STATE_MANAGER_CAST(mgr) ((GstStateManager*)(mgr)) /** + * GstBufferingStrategy: + * @GST_BUFFER_STRATEGY_LOW_HIGH: low/high watermark buffering. + * @GST_BUFFER_STRATEGY_NO_REBUFFER: try to buffer as much data as needed to + * ensure playback without rebuffering. + * + * The different types of buffering methods. + */ +typedef enum { + GST_BUFFER_STRATEGY_LOW_HIGH, + GST_BUFFER_STRATEGY_NO_REBUFFER, + GST_BUFFER_STRATEGY_INCREMENTAL, + + GST_BUFFER_STRATEGY_LAST, +} GstBufferStrategy; + +/** * GstStateManager: * * The opaque #GstStateManager data structure. |