Don't warn about unused internal methods which are meant to be visible on DBus
[vala-gnome.git] / vapi / gstreamer-base-0.10.vapi
blob2e3660e8fd545d4012f659965773079616ec747b
1 /* gstreamer-base-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "GstBase", gir_version = "0.10", lower_case_cprefix = "gst_")]
4 [Version (deprecated = true, replacement = "gstreamer-1.0")]
5 namespace Gst {
6         [CCode (cheader_filename = "gst/base/gstadapter.h")]
7         public class Adapter : GLib.Object {
8                 [CCode (has_construct_function = false)]
9                 public Adapter ();
10                 public uint available ();
11                 public uint available_fast ();
12                 public void clear ();
13                 public void copy (uchar dest, uint offset, uint size);
14                 public void flush (uint flush);
15                 public uint masked_scan_uint32 (uint32 mask, uint32 pattern, uint offset, uint size);
16                 public uint masked_scan_uint32_peek (uint32 mask, uint32 pattern, uint offset, uint size, uint32 value);
17                 [CCode (array_length = false)]
18                 public unowned uchar[] peek (uint size);
19                 public Gst.ClockTime prev_timestamp (uint64 distance);
20                 public void push (owned Gst.Buffer buf);
21                 public uchar take (uint nbytes);
22                 public Gst.Buffer take_buffer (uint nbytes);
23                 public unowned GLib.List take_list (uint nbytes);
24         }
25         [CCode (cheader_filename = "gst/gst.h")]
26         public class BaseParse : Gst.Element {
27                 public uint flags;
28                 public weak Gst.Segment segment;
29                 public weak Gst.Pad sinkpad;
30                 public weak Gst.Pad srcpad;
31                 [CCode (has_construct_function = false)]
32                 protected BaseParse ();
33                 public bool add_index_entry (uint64 offset, Gst.ClockTime ts, bool key, bool force);
34                 [NoWrapper]
35                 public virtual bool check_valid_frame (Gst.BaseParseFrame frame, uint framesize, int skipsize);
36                 [NoWrapper]
37                 public virtual bool convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
38                 public bool convert_default (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
39                 [NoWrapper]
40                 public virtual bool event (Gst.Event event);
41                 [NoWrapper]
42                 public virtual Gst.FlowReturn parse_frame (Gst.BaseParseFrame frame);
43                 [NoWrapper]
44                 public virtual Gst.FlowReturn pre_push_frame (Gst.BaseParseFrame frame);
45                 public Gst.FlowReturn push_frame (Gst.BaseParseFrame frame);
46                 public void set_average_bitrate (uint bitrate);
47                 public void set_duration (Gst.Format fmt, int64 duration, int interval);
48                 public void set_frame_rate (uint fps_num, uint fps_den, uint lead_in, uint lead_out);
49                 public void set_has_timing_info (bool has_timing);
50                 public void set_latency (Gst.ClockTime min_latency, Gst.ClockTime max_latency);
51                 public void set_min_frame_size (uint min_size);
52                 public void set_passthrough (bool passthrough);
53                 [NoWrapper]
54                 public virtual bool set_sink_caps (Gst.Caps caps);
55                 public void set_syncable (bool syncable);
56                 [NoWrapper]
57                 public virtual bool src_event (Gst.Event event);
58                 [NoWrapper]
59                 public virtual bool start ();
60                 [NoWrapper]
61                 public virtual bool stop ();
62         }
63         [CCode (cheader_filename = "gst/gst.h", type_id = "gst_base_parse_frame_get_type ()")]
64         [Compact]
65         public class BaseParseFrame {
66                 public weak Gst.Buffer buffer;
67                 public uint flags;
68                 public int overhead;
69                 [CCode (has_construct_function = false)]
70                 public BaseParseFrame (Gst.Buffer buffer, Gst.BaseParseFrameFlags flags, int overhead);
71                 public void init ();
72         }
73         [CCode (cheader_filename = "gst/base/gstbasesink.h")]
74         public class BaseSink : Gst.Element {
75                 public int buffers_queued;
76                 public bool can_activate_pull;
77                 public bool can_activate_push;
78                 public Gst.ClockID clock_id;
79                 public Gst.ClockTime end_time;
80                 public bool eos;
81                 public bool eos_queued;
82                 public int events_queued;
83                 public bool flushing;
84                 public bool have_newsegment;
85                 public bool have_preroll;
86                 public bool need_preroll;
87                 public uint64 offset;
88                 public Gst.ActivateMode pad_mode;
89                 public bool playing_async;
90                 public GLib.Queue preroll_queue;
91                 public int preroll_queue_max_len;
92                 public int preroll_queued;
93                 public Gst.Segment segment;
94                 public Gst.Pad sinkpad;
95                 [CCode (has_construct_function = false)]
96                 protected BaseSink ();
97                 [NoWrapper]
98                 public virtual bool activate_pull (bool active);
99                 [NoWrapper]
100                 public virtual Gst.StateChangeReturn async_play ();
101                 [NoWrapper]
102                 public virtual Gst.FlowReturn buffer_alloc (uint64 offset, uint size, Gst.Caps caps, out unowned Gst.Buffer buf);
103                 public Gst.FlowReturn do_preroll (Gst.MiniObject obj);
104                 [NoWrapper]
105                 public virtual bool event (Gst.Event event);
106                 [NoWrapper]
107                 public virtual void fixate (Gst.Caps caps);
108                 public uint get_blocksize ();
109                 [NoWrapper]
110                 public virtual unowned Gst.Caps get_caps ();
111                 public unowned Gst.Buffer get_last_buffer ();
112                 public Gst.ClockTime get_latency ();
113                 public int64 get_max_lateness ();
114                 public Gst.ClockTime get_render_delay ();
115                 public bool get_sync ();
116                 public uint64 get_throttle_time ();
117                 [NoWrapper]
118                 public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out Gst.ClockTime end);
119                 public Gst.ClockTimeDiff get_ts_offset ();
120                 public bool is_async_enabled ();
121                 public bool is_last_buffer_enabled ();
122                 public bool is_qos_enabled ();
123                 [NoWrapper]
124                 public virtual Gst.FlowReturn preroll (Gst.Buffer buffer);
125                 public bool query_latency (bool live, bool upstream_live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
126                 [NoWrapper]
127                 public virtual Gst.FlowReturn render (Gst.Buffer buffer);
128                 [NoWrapper]
129                 public virtual Gst.FlowReturn render_list (Gst.BufferList buffer_list);
130                 public void set_async_enabled (bool enabled);
131                 public void set_blocksize (uint blocksize);
132                 [NoWrapper]
133                 public virtual bool set_caps (Gst.Caps caps);
134                 public void set_last_buffer_enabled (bool enabled);
135                 public void set_max_lateness (int64 max_lateness);
136                 public void set_qos_enabled (bool enabled);
137                 public void set_render_delay (Gst.ClockTime delay);
138                 public void set_sync (bool sync);
139                 public void set_throttle_time (uint64 throttle);
140                 public void set_ts_offset (Gst.ClockTimeDiff offset);
141                 [NoWrapper]
142                 public virtual bool start ();
143                 [NoWrapper]
144                 public virtual bool stop ();
145                 [NoWrapper]
146                 public virtual bool unlock ();
147                 [NoWrapper]
148                 public virtual bool unlock_stop ();
149                 public Gst.ClockReturn wait_clock (Gst.ClockTime time, out Gst.ClockTimeDiff jitter);
150                 public Gst.FlowReturn wait_eos (Gst.ClockTime time, out Gst.ClockTimeDiff jitter);
151                 public Gst.FlowReturn wait_preroll ();
152                 [NoAccessorMethod]
153                 public bool @async { get; set; }
154                 public uint blocksize { get; set; }
155                 [NoAccessorMethod]
156                 public bool enable_last_buffer { get; set; }
157                 public Gst.Buffer last_buffer { get; }
158                 public int64 max_lateness { get; set; }
159                 [NoAccessorMethod]
160                 public uint preroll_queue_len { get; set construct; }
161                 [NoAccessorMethod]
162                 public bool qos { get; set; }
163                 public uint64 render_delay { get; set; }
164                 public bool sync { get; set; }
165                 public uint64 throttle_time { get; set; }
166                 public int64 ts_offset { get; set; }
167         }
168         [CCode (cheader_filename = "gst/base/gstbasesrc.h")]
169         public class BaseSrc : Gst.Element {
170                 public bool can_activate_push;
171                 public Gst.ClockID clock_id;
172                 public void* data;
173                 public Gst.ClockTime end_time;
174                 public GLib.Cond live_cond;
175                 public GLib.Mutex live_lock;
176                 public bool live_running;
177                 public bool need_newsegment;
178                 public int num_buffers_left;
179                 public uint64 offset;
180                 public Gst.ActivateMode pad_mode;
181                 public bool random_access;
182                 public bool seekable;
183                 public Gst.Segment segment;
184                 public uint64 size;
185                 public Gst.Pad srcpad;
186                 [CCode (has_construct_function = false)]
187                 protected BaseSrc ();
188                 [NoWrapper]
189                 public virtual bool check_get_range ();
190                 [NoWrapper]
191                 public virtual Gst.FlowReturn create (uint64 offset, uint size, out unowned Gst.Buffer buf);
192                 [NoWrapper]
193                 public virtual bool do_seek (Gst.Segment segment);
194                 [NoWrapper]
195                 public virtual bool event (Gst.Event event);
196                 [NoWrapper]
197                 public virtual void fixate (Gst.Caps caps);
198                 public ulong get_blocksize ();
199                 [NoWrapper]
200                 public virtual unowned Gst.Caps get_caps ();
201                 public bool get_do_timestamp ();
202                 [NoWrapper]
203                 public virtual bool get_size (uint64 size);
204                 [NoWrapper]
205                 public virtual void get_times (Gst.Buffer buffer, out Gst.ClockTime start, out Gst.ClockTime end);
206                 public bool is_live ();
207                 [NoWrapper]
208                 public virtual bool is_seekable ();
209                 [NoWrapper]
210                 public virtual bool negotiate ();
211                 [NoWrapper]
212                 public virtual bool newsegment ();
213                 [NoWrapper]
214                 public virtual bool prepare_seek_segment (Gst.Event seek, Gst.Segment segment);
215                 [NoWrapper]
216                 public virtual bool query (Gst.Query query);
217                 public bool query_latency (bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
218                 [CCode (has_construct_function = false, type = "gboolean")]
219                 public BaseSrc.seamless_segment (Gst.BaseSrc src, int64 start, int64 stop, int64 position);
220                 public void set_blocksize (ulong blocksize);
221                 [NoWrapper]
222                 public virtual bool set_caps (Gst.Caps caps);
223                 public void set_do_timestamp (bool timestamp);
224                 public void set_dynamic_size (bool @dynamic);
225                 public void set_format (Gst.Format format);
226                 public void set_live (bool live);
227                 [NoWrapper]
228                 public virtual bool start ();
229                 [NoWrapper]
230                 public virtual bool stop ();
231                 [NoWrapper]
232                 public virtual bool unlock ();
233                 [NoWrapper]
234                 public virtual bool unlock_stop ();
235                 public Gst.FlowReturn wait_playing ();
236                 public ulong blocksize { get; set; }
237                 public bool do_timestamp { get; set; }
238                 [NoAccessorMethod]
239                 public int num_buffers { get; set; }
240                 [NoAccessorMethod]
241                 public bool typefind { get; set; }
242         }
243         [CCode (cheader_filename = "gst/base/gstbasetransform.h")]
244         public class BaseTransform : Gst.Element {
245                 public bool always_in_place;
246                 public Gst.Caps cache_caps1;
247                 public uint cache_caps1_size;
248                 public Gst.Caps cache_caps2;
249                 public uint cache_caps2_size;
250                 public bool delay_configure;
251                 public bool have_newsegment;
252                 public bool have_same_caps;
253                 public bool negotiated;
254                 public bool passthrough;
255                 public bool pending_configure;
256                 public Gst.Segment segment;
257                 public Gst.Pad sinkpad;
258                 public Gst.Pad srcpad;
259                 public GLib.Mutex transform_lock;
260                 [CCode (cname = "GST_BASE_TRANSFORM_SINK_NAME")]
261                 public const string SINK_NAME;
262                 [CCode (cname = "GST_BASE_TRANSFORM_SRC_NAME")]
263                 public const string SRC_NAME;
264                 [CCode (has_construct_function = false)]
265                 protected BaseTransform ();
266                 [NoWrapper]
267                 public virtual bool accept_caps (Gst.PadDirection direction, Gst.Caps caps);
268                 [NoWrapper]
269                 public virtual void before_transform (Gst.Buffer buffer);
270                 [NoWrapper]
271                 public virtual bool event (Gst.Event event);
272                 [NoWrapper]
273                 public virtual void fixate_caps (Gst.PadDirection direction, Gst.Caps caps, Gst.Caps othercaps);
274                 [NoWrapper]
275                 public virtual bool get_unit_size (Gst.Caps caps, out uint size);
276                 public bool is_in_place ();
277                 public bool is_passthrough ();
278                 public bool is_qos_enabled ();
279                 [NoWrapper]
280                 public virtual Gst.FlowReturn prepare_output_buffer (Gst.Buffer input, int size, Gst.Caps caps, out unowned Gst.Buffer buf);
281                 public void reconfigure ();
282                 [NoWrapper]
283                 public virtual bool set_caps (Gst.Caps incaps, Gst.Caps outcaps);
284                 public void set_gap_aware (bool gap_aware);
285                 public void set_in_place (bool in_place);
286                 public void set_passthrough (bool passthrough);
287                 public void set_qos_enabled (bool enabled);
288                 [NoWrapper]
289                 public virtual bool src_event (Gst.Event event);
290                 [NoWrapper]
291                 public virtual bool start ();
292                 [NoWrapper]
293                 public virtual bool stop ();
294                 public void suggest (Gst.Caps caps, uint size);
295                 [NoWrapper]
296                 public virtual Gst.FlowReturn transform (Gst.Buffer inbuf, Gst.Buffer outbuf);
297                 [NoWrapper]
298                 public virtual Gst.Caps transform_caps (Gst.PadDirection direction, Gst.Caps caps);
299                 [NoWrapper]
300                 public virtual Gst.FlowReturn transform_ip (Gst.Buffer buf);
301                 [NoWrapper]
302                 public virtual bool transform_size (Gst.PadDirection direction, Gst.Caps caps, uint size, Gst.Caps othercaps, out uint othersize);
303                 public void update_qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
304                 [NoAccessorMethod]
305                 public bool qos { get; set; }
306         }
307         [CCode (cheader_filename = "gst/base/gstbitreader.h")]
308         [Compact]
309         public class BitReader {
310                 public uint bit;
311                 public uint byte;
312                 public uchar data;
313                 public uint size;
314                 [CCode (has_construct_function = false)]
315                 public BitReader (uchar data, uint size);
316                 [CCode (has_construct_function = false)]
317                 public BitReader.from_buffer (Gst.Buffer buffer);
318                 public bool get_bits_uint16 (out uint16 val, uint nbits);
319                 public bool get_bits_uint32 (out uint32 val, uint nbits);
320                 public bool get_bits_uint64 (out uint64 val, uint nbits);
321                 public bool get_bits_uint8 (out uchar val, uint nbits);
322                 public uint get_pos ();
323                 public uint get_remaining ();
324                 public uint get_size ();
325                 public void init (uchar data, uint size);
326                 public void init_from_buffer (Gst.Buffer buffer);
327                 public bool peek_bits_uint16 (out uint16 val, uint nbits);
328                 public bool peek_bits_uint32 (out uint32 val, uint nbits);
329                 public bool peek_bits_uint64 (out uint64 val, uint nbits);
330                 public bool peek_bits_uint8 (out uchar val, uint nbits);
331                 public bool set_pos (uint pos);
332                 public bool skip (uint nbits);
333                 public bool skip_to_byte ();
334         }
335         [CCode (cheader_filename = "gst/base/gstbytereader.h")]
336         [Compact]
337         public class ByteReader {
338                 public uint byte;
339                 public uchar data;
340                 public uint size;
341                 [CCode (has_construct_function = false)]
342                 public ByteReader (uchar data, uint size);
343                 public bool dup_data (uint size, uchar val);
344                 public bool dup_string_utf16 (uint16 str);
345                 public bool dup_string_utf32 (uint32 str);
346                 public bool dup_string_utf8 (string str);
347                 [CCode (has_construct_function = false)]
348                 public ByteReader.from_buffer (Gst.Buffer buffer);
349                 public bool get_data (uint size, out uchar val);
350                 public bool get_float32_be (out float val);
351                 public bool get_float32_le (out float val);
352                 public bool get_float64_be (out double val);
353                 public bool get_float64_le (out double val);
354                 public bool get_int16_be (out int16 val);
355                 public bool get_int16_le (out int16 val);
356                 public bool get_int24_be (out int32 val);
357                 public bool get_int24_le (out int32 val);
358                 public bool get_int32_be (out int32 val);
359                 public bool get_int32_le (out int32 val);
360                 public bool get_int64_be (out int64 val);
361                 public bool get_int64_le (out int64 val);
362                 public bool get_int8 (out char val);
363                 public uint get_pos ();
364                 public uint get_remaining ();
365                 public uint get_size ();
366                 public bool get_string_utf8 (string str);
367                 public bool get_uint16_be (out uint16 val);
368                 public bool get_uint16_le (out uint16 val);
369                 public bool get_uint24_be (out uint32 val);
370                 public bool get_uint24_le (out uint32 val);
371                 public bool get_uint32_be (out uint32 val);
372                 public bool get_uint32_le (out uint32 val);
373                 public bool get_uint64_be (out uint64 val);
374                 public bool get_uint64_le (out uint64 val);
375                 public bool get_uint8 (out uchar val);
376                 public void init (uchar data, uint size);
377                 public void init_from_buffer (Gst.Buffer buffer);
378                 public uint masked_scan_uint32 (uint32 mask, uint32 pattern, uint offset, uint size);
379                 public bool peek_data (uint size, out uchar val);
380                 public bool peek_float32_be (out float val);
381                 public bool peek_float32_le (out float val);
382                 public bool peek_float64_be (out double val);
383                 public bool peek_float64_le (out double val);
384                 public bool peek_int16_be (out int16 val);
385                 public bool peek_int16_le (out int16 val);
386                 public bool peek_int24_be (out int32 val);
387                 public bool peek_int24_le (out int32 val);
388                 public bool peek_int32_be (out int32 val);
389                 public bool peek_int32_le (out int32 val);
390                 public bool peek_int64_be (out int64 val);
391                 public bool peek_int64_le (out int64 val);
392                 public bool peek_int8 (out char val);
393                 public bool peek_string_utf8 (string str);
394                 public bool peek_uint16_be (out uint16 val);
395                 public bool peek_uint16_le (out uint16 val);
396                 public bool peek_uint24_be (out uint32 val);
397                 public bool peek_uint24_le (out uint32 val);
398                 public bool peek_uint32_be (out uint32 val);
399                 public bool peek_uint32_le (out uint32 val);
400                 public bool peek_uint64_be (out uint64 val);
401                 public bool peek_uint64_le (out uint64 val);
402                 public bool peek_uint8 (out uchar val);
403                 public bool set_pos (uint pos);
404                 public bool skip (uint nbytes);
405                 public bool skip_string_utf16 ();
406                 public bool skip_string_utf32 ();
407                 public bool skip_string_utf8 ();
408         }
409         [CCode (cheader_filename = "gst/base/gstbytewriter.h")]
410         public class ByteWriter : Gst.ByteReader {
411                 public uint alloc_size;
412                 public bool fixed;
413                 public bool @owned;
414                 [CCode (has_construct_function = false)]
415                 public ByteWriter ();
416                 public bool ensure_free_space (uint size);
417                 public bool fill (uchar value, uint size);
418                 public unowned Gst.Buffer free_and_get_buffer ();
419                 public uchar free_and_get_data ();
420                 public uint get_remaining ();
421                 public void init ();
422                 public void init_with_buffer (Gst.Buffer buffer, bool initialized);
423                 public void init_with_data (uchar data, uint size, bool initialized);
424                 public void init_with_size (uint size, bool fixed);
425                 public bool put_data (uchar data, uint size);
426                 public bool put_float32_be (float val);
427                 public bool put_float32_le (float val);
428                 public bool put_float64_be (double val);
429                 public bool put_float64_le (double val);
430                 public bool put_int16_be (int16 val);
431                 public bool put_int16_le (int16 val);
432                 public bool put_int24_be (int32 val);
433                 public bool put_int24_le (int32 val);
434                 public bool put_int32_be (int32 val);
435                 public bool put_int32_le (int32 val);
436                 public bool put_int64_be (int64 val);
437                 public bool put_int64_le (int64 val);
438                 public bool put_int8 (char val);
439                 public bool put_string_utf16 (uint16 data);
440                 public bool put_string_utf32 (uint32 data);
441                 public bool put_string_utf8 (string data);
442                 public bool put_uint16_be (uint16 val);
443                 public bool put_uint16_le (uint16 val);
444                 public bool put_uint24_be (uint32 val);
445                 public bool put_uint24_le (uint32 val);
446                 public bool put_uint32_be (uint32 val);
447                 public bool put_uint32_le (uint32 val);
448                 public bool put_uint64_be (uint64 val);
449                 public bool put_uint64_le (uint64 val);
450                 public bool put_uint8 (uchar val);
451                 public void reset ();
452                 public unowned Gst.Buffer reset_and_get_buffer ();
453                 public uchar reset_and_get_data ();
454                 [CCode (has_construct_function = false)]
455                 public ByteWriter.with_buffer (Gst.Buffer buffer, bool initialized);
456                 [CCode (has_construct_function = false)]
457                 public ByteWriter.with_data (uchar data, uint size, bool initialized);
458                 [CCode (has_construct_function = false)]
459                 public ByteWriter.with_size (uint size, bool fixed);
460         }
461         [CCode (cheader_filename = "gst/base/gstcollectpads.h")]
462         [Compact]
463         public class CollectData {
464                 public Gst.Buffer buffer;
465                 public weak Gst.CollectPads collect;
466                 public Gst.Pad pad;
467                 public uint pos;
468                 public weak Gst.Segment segment;
469         }
470         [CCode (cheader_filename = "gst/base/gstcollectpads.h")]
471         public class CollectPads : Gst.Object {
472                 public GLib.Cond cond;
473                 public uint32 cookie;
474                 public weak GLib.SList<Gst.CollectData> data;
475                 public uint eospads;
476                 public weak Gst.CollectPadsFunction func;
477                 public uint numpads;
478                 public uint queuedpads;
479                 public bool started;
480                 public void* user_data;
481                 [CCode (has_construct_function = false)]
482                 public CollectPads ();
483                 public unowned Gst.CollectData add_pad (Gst.Pad pad, uint size);
484                 public unowned Gst.CollectData add_pad_full (Gst.Pad pad, uint size, Gst.CollectDataDestroyNotify destroy_notify);
485                 public uint available ();
486                 public Gst.FlowReturn collect ();
487                 public Gst.FlowReturn collect_range (uint64 offset, uint length);
488                 public uint flush (Gst.CollectData data, uint size);
489                 public bool is_active (Gst.Pad pad);
490                 public unowned Gst.Buffer peek (Gst.CollectData data);
491                 public unowned Gst.Buffer pop (Gst.CollectData data);
492                 public uint read (Gst.CollectData data, uchar bytes, uint size);
493                 public unowned Gst.Buffer read_buffer (Gst.CollectData data, uint size);
494                 public bool remove_pad (Gst.Pad pad);
495                 public void set_clip_function (Gst.CollectPadsClipFunction clipfunc);
496                 public void set_flushing (bool flushing);
497                 public void set_function (Gst.CollectPadsFunction func);
498                 public void start ();
499                 public void stop ();
500                 public Gst.Buffer take_buffer (Gst.CollectData data, uint size);
501         }
502         [CCode (cheader_filename = "gst/base/gstdataqueue.h")]
503         public class DataQueue : GLib.Object {
504                 public void* abidata;
505                 public void* checkdata;
506                 public weak Gst.DataQueueCheckFullFunction checkfull;
507                 public weak Gst.DataQueueSize cur_level;
508                 public weak Gst.DataQueueEmptyCallback emptycallback;
509                 public bool flushing;
510                 public weak Gst.DataQueueFullCallback fullcallback;
511                 public GLib.Cond item_add;
512                 public GLib.Cond item_del;
513                 public GLib.Mutex qlock;
514                 public weak GLib.Queue queue;
515                 [CCode (has_construct_function = false)]
516                 public DataQueue (Gst.DataQueueCheckFullFunction checkfull, void* checkdata);
517                 public bool drop_head (GLib.Type type);
518                 public void flush ();
519                 public void get_level (Gst.DataQueueSize level);
520                 public bool is_empty ();
521                 public bool is_full ();
522                 public void limits_changed ();
523                 [CCode (cname = "gst_data_queue_new_full", has_construct_function = false)]
524                 public DataQueue.new_with_callbacks (Gst.DataQueueCheckFullFunction checkfull, Gst.DataQueueFullCallback fullcallback, Gst.DataQueueEmptyCallback emptycallback, void* checkdata);
525                 public bool pop (out unowned Gst.DataQueueItem item);
526                 public bool push (Gst.DataQueueItem item);
527                 public void set_flushing (bool flushing);
528                 [NoAccessorMethod]
529                 public uint current_level_bytes { get; }
530                 [NoAccessorMethod]
531                 public uint64 current_level_time { get; }
532                 [NoAccessorMethod]
533                 public uint current_level_visible { get; }
534                 public virtual signal void empty ();
535                 public virtual signal void full ();
536         }
537         [CCode (cheader_filename = "gst/base/gstdataqueue.h")]
538         [Compact]
539         public class DataQueueItem {
540                 public weak GLib.DestroyNotify destroy;
541                 public uint64 duration;
542                 public weak Gst.MiniObject object;
543                 public uint size;
544                 public bool visible;
545         }
546         [CCode (cheader_filename = "gst/base/gstdataqueue.h")]
547         [Compact]
548         public class DataQueueSize {
549                 public uint bytes;
550                 public uint64 time;
551                 public uint visible;
552         }
553         [CCode (cheader_filename = "gst/base/gstpushsrc.h")]
554         public class PushSrc : Gst.BaseSrc {
555                 [CCode (has_construct_function = false)]
556                 protected PushSrc ();
557                 [NoWrapper]
558                 public virtual Gst.FlowReturn create (out Gst.Buffer buf);
559         }
560         [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BASE_PARSE_FRAME_FLAG_", has_type_id = false)]
561         public enum BaseParseFrameFlags {
562                 NONE,
563                 NO_FRAME,
564                 CLIP
565         }
566         [CCode (cheader_filename = "gst/base/gstbasesrc.h", cprefix = "GST_BASE_SRC_", has_type_id = false)]
567         public enum BaseSrcFlags {
568                 STARTED,
569                 FLAG_LAST
570         }
571         [CCode (cheader_filename = "gst/base/gstcollectpads.h")]
572         public delegate void CollectDataDestroyNotify ();
573         [CCode (cheader_filename = "gst/base/gstcollectpads.h")]
574         public delegate unowned Gst.Buffer CollectPadsClipFunction (Gst.CollectPads pads, Gst.CollectData data, Gst.Buffer buffer);
575         [CCode (cheader_filename = "gst/base/gstcollectpads.h")]
576         public delegate Gst.FlowReturn CollectPadsFunction (Gst.CollectPads pads);
577         [CCode (cheader_filename = "gst/base/gstdataqueue.h", has_target = false)]
578         public delegate bool DataQueueCheckFullFunction (Gst.DataQueue queue, uint visible, uint bytes, uint64 time, void* checkdata);
579         [CCode (cheader_filename = "gst/base/gstdataqueue.h", has_target = false)]
580         public delegate void DataQueueEmptyCallback (Gst.DataQueue queue, void* checkdata);
581         [CCode (cheader_filename = "gst/base/gstdataqueue.h", has_target = false)]
582         public delegate void DataQueueFullCallback (Gst.DataQueue queue, void* checkdata);
583         [CCode (cheader_filename = "gst/base/gsttypefindhelper.h", has_target = false)]
584         public delegate Gst.FlowReturn TypeFindHelperGetRangeFunction (Gst.Object obj, uint64 offset, uint length, out unowned Gst.Buffer buffer);
585         [CCode (cheader_filename = "gst/gst.h")]
586         public const int BASE_PARSE_FLAG_DRAINING;
587         [CCode (cheader_filename = "gst/gst.h")]
588         public const int BASE_PARSE_FLAG_LOST_SYNC;
589         [CCode (cheader_filename = "gst/base/gsttypefindhelper.h")]
590         public static unowned Gst.Caps type_find_helper (Gst.Pad src, uint64 size);
591         [CCode (cheader_filename = "gst/base/gsttypefindhelper.h")]
592         public static unowned Gst.Caps type_find_helper_for_buffer (Gst.Object obj, Gst.Buffer buf, Gst.TypeFindProbability prob);
593         [CCode (cheader_filename = "gst/base/gsttypefindhelper.h")]
594         public static Gst.Caps type_find_helper_for_extension (Gst.Object obj, string extension);
595         [CCode (cheader_filename = "gst/base/gsttypefindhelper.h")]
596         public static unowned Gst.Caps type_find_helper_get_range (Gst.Object obj, Gst.TypeFindHelperGetRangeFunction func, uint64 size, Gst.TypeFindProbability prob);
597         [CCode (cheader_filename = "gst/base/gsttypefindhelper.h")]
598         public static unowned Gst.Caps type_find_helper_get_range_ext (Gst.Object obj, Gst.TypeFindHelperGetRangeFunction func, uint64 size, string extension, Gst.TypeFindProbability prob);