1 /* gstreamer-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", lower_case_cprefix = "gst_")]
6 [CCode (cheader_filename = "gst/gst.h")]
7 public class AllocTrace {
10 public weak GLib.SList<weak void*> mem_live;
11 public weak string name;
12 public static bool available ();
13 public static unowned Gst.AllocTrace @get (string name);
14 public static unowned GLib.List<Gst.AllocTrace> list ();
15 public static int live_all ();
17 public static void print_all ();
18 public static void print_live ();
19 public void set_flags (Gst.AllocTraceFlags flags);
20 public static void set_flags_all (Gst.AllocTraceFlags flags);
22 [CCode (cheader_filename = "gst/gst.h")]
23 public class Bin : Gst.Element, Gst.ChildProxy {
24 public weak Gst.Bus child_bus;
25 public weak GLib.List<Gst.Element> children;
26 public uint32 children_cookie;
27 public bool clock_dirty;
28 public weak Gst.Element clock_provider;
29 public weak GLib.List<Gst.Message> messages;
30 public int numchildren;
32 public weak Gst.Clock provided_clock;
33 public bool state_dirty;
34 [CCode (type = "GstElement*", has_construct_function = false)]
35 public Bin (string? name);
36 public bool add (owned Gst.Element element);
38 public virtual bool add_element (Gst.Element element);
39 public void add_many (params owned Gst.Element[] elements);
40 public Gst.Pad? find_unconnected_pad (Gst.PadDirection direction);
41 public Gst.Pad? find_unlinked_pad (Gst.PadDirection direction);
42 public Gst.Element? get_by_interface (GLib.Type iface);
43 public Gst.Element? get_by_name (string name);
44 public Gst.Element? get_by_name_recurse_up (string name);
46 public virtual void handle_message (Gst.Message message);
47 public Gst.Iterator<Gst.Element> iterate_all_by_interface (GLib.Type iface);
48 public Gst.Iterator<Gst.Element> iterate_elements ();
49 public Gst.Iterator<Gst.Element> iterate_recurse ();
50 public Gst.Iterator<Gst.Element> iterate_sinks ();
51 public Gst.Iterator<Gst.Element> iterate_sorted ();
52 public Gst.Iterator<Gst.Element> iterate_sources ();
53 public bool recalculate_latency ();
54 public bool remove (Gst.Element element);
56 public virtual bool remove_element (Gst.Element element);
57 public void remove_many (params Gst.Element[] elements);
59 public bool async_handling { get; set; }
60 public virtual signal bool do_latency ();
61 public virtual signal void element_added (Gst.Element child);
62 public virtual signal void element_removed (Gst.Element child);
64 [CCode (ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref", cheader_filename = "gst/gst.h")]
65 public class Buffer : Gst.MiniObject {
66 public weak Gst.Caps caps;
67 [CCode (array_length_cname = "size", array_length_type = "guint")]
68 public weak uint8[] data;
69 public Gst.ClockTime duration;
70 public weak GLib.FreeFunc free_func;
71 public void* malloc_data;
73 public uint64 offset_end;
74 public weak Gst.Buffer parent;
76 public Gst.ClockTime timestamp;
77 [CCode (has_construct_function = false)]
79 [CCode (has_construct_function = false)]
80 public Buffer.and_alloc (uint size);
81 public Gst.Buffer copy ();
82 public void copy_metadata (Gst.Buffer src, Gst.BufferCopyFlags flags);
83 public Gst.Buffer create_sub (uint offset, uint size);
84 [CCode (cname = "GST_BUFFER_DURATION_IS_VALID")]
85 public bool duration_is_valid ();
86 [CCode (cname = "GST_BUFFER_FLAG_IS_SET")]
87 public bool flag_is_set (Gst.BufferFlag flag);
88 [CCode (cname = "GST_BUFFER_FLAG_SET")]
89 public void flag_set (Gst.BufferFlag flag);
90 [CCode (cname = "GST_BUFFER_FLAG_UNSET")]
91 public void flag_unset (Gst.BufferFlag flag);
92 public Gst.Caps get_caps ();
93 [CCode (cname = "GST_BUFFER_IS_DISCONT")]
94 public bool is_discont ();
95 public bool is_metadata_writable ();
96 public bool is_span_fast (Gst.Buffer buf2);
97 [ReturnsModifiedPointer]
98 public void join (owned Gst.Buffer buf2);
99 [ReturnsModifiedPointer]
100 public void make_metadata_writable ();
101 [ReturnsModifiedPointer]
102 public void make_writable ();
103 public Gst.Buffer merge (Gst.Buffer buf2);
104 [CCode (cname = "GST_BUFFER_OFFSET_END_IS_VALID")]
105 public bool offset_end_is_valid ();
106 [CCode (cname = "GST_BUFFER_OFFSET_IS_VALID")]
107 public bool offset_is_valid ();
108 public Gst.Buffer @ref ();
109 public static void replace (ref Gst.Buffer? oldobj, Gst.Buffer? newobj);
110 public void set_caps (Gst.Caps caps);
111 public Gst.Buffer span (uint32 offset, Gst.Buffer buf2, uint32 len);
112 public void stamp (Gst.Buffer src);
113 [CCode (cname = "GST_BUFFER_TIMESTAMP_IS_VALID")]
114 public bool timestamp_is_valid ();
115 public static Gst.Buffer? try_new_and_alloc (uint size);
116 public void unref ();
118 [CCode (ref_function = "gst_buffer_list_ref", unref_function = "gst_buffer_list_unref", cheader_filename = "gst/gst.h")]
119 public class BufferList : Gst.MiniObject {
120 [CCode (has_construct_function = false)]
121 public BufferList ();
122 public Gst.BufferList copy ();
123 public void @foreach (Gst.BufferListFunc func);
124 public unowned Gst.Buffer? @get (uint group, uint idx);
125 public Gst.BufferListIterator iterate ();
126 [ReturnsModifiedPointer]
127 public void make_writable ();
128 public uint n_groups ();
129 public Gst.BufferList @ref ();
130 public void unref ();
133 [CCode (cheader_filename = "gst/gst.h")]
134 public class BufferListIterator {
135 public void add (owned Gst.Buffer buffer);
136 public void add_group ();
137 public unowned Gst.Buffer? @do (Gst.BufferListDoFunction do_func);
138 public Gst.Buffer? merge_group ();
139 public uint n_buffers ();
140 public unowned Gst.Buffer? next ();
141 public bool next_group ();
142 public void remove ();
143 public unowned Gst.Buffer? steal ();
144 public void take (owned Gst.Buffer buffer);
146 [CCode (cheader_filename = "gst/gst.h")]
147 public class Bus : Gst.Object {
148 [CCode (has_construct_function = false)]
150 public void add_signal_watch ();
151 public void add_signal_watch_full (int priority);
152 [CCode (cname = "gst_bus_add_watch_full")]
153 public uint add_watch (owned Gst.BusFunc func, [CCode (pos = 0.1)] int priority = GLib.Priority.DEFAULT);
154 public uint add_watch_full (int priority, owned Gst.BusFunc func);
155 [CCode (instance_pos = -1)]
156 public bool async_signal_func (Gst.Bus bus, Gst.Message message);
157 public GLib.TimeoutSource create_watch ();
158 public void disable_sync_message_emission ();
159 public void enable_sync_message_emission ();
160 public bool have_pending ();
161 public Gst.Message? peek ();
162 public Gst.Message? poll (Gst.MessageType events, Gst.ClockTimeDiff timeout);
163 public Gst.Message? pop ();
164 public Gst.Message? pop_filtered (Gst.MessageType types);
165 public bool post (owned Gst.Message message);
166 public void remove_signal_watch ();
167 public void set_flushing (bool flushing);
168 public void set_sync_handler (Gst.BusSyncHandler? func);
169 [CCode (instance_pos = -1)]
170 public Gst.BusSyncReply sync_signal_handler (Gst.Bus bus, Gst.Message message);
171 public Gst.Message? timed_pop (Gst.ClockTime timeout);
172 public Gst.Message? timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
173 public virtual signal void message (Gst.Message message);
174 public virtual signal void sync_message (Gst.Message message);
176 [CCode (ref_function = "gst_caps_ref", unref_function = "gst_caps_unref", cheader_filename = "gst/gst.h")]
178 public Gst.CapsFlags flags;
179 [CCode (has_construct_function = false)]
181 public void append (owned Gst.Caps caps2);
182 public void append_structure (owned Gst.Structure structure);
183 public bool can_intersect (Gst.Caps caps2);
184 public Gst.Caps copy ();
185 public Gst.Caps copy_nth (uint nth);
186 public bool do_simplify ();
187 [CCode (has_construct_function = false)]
188 public Caps.empty ();
189 public static Gst.Caps from_string (string str);
190 [CCode (has_construct_function = false)]
191 public Caps.full (Gst.Structure struct1, ...);
192 [CCode (has_construct_function = false)]
193 public Caps.full_valist (Gst.Structure structure, void* var_args);
194 public uint get_size ();
195 public unowned Gst.Structure get_structure (uint index);
196 public Gst.Caps intersect (Gst.Caps caps2);
197 public bool is_always_compatible (Gst.Caps caps2);
198 public bool is_any ();
199 public bool is_empty ();
200 public bool is_equal (Gst.Caps caps2);
201 public bool is_equal_fixed (Gst.Caps caps2);
202 public bool is_fixed ();
203 [CCode (cname = "GST_CAPS_IS_SIMPLE")]
204 public bool is_simple ();
205 public bool is_subset (Gst.Caps superset);
206 public static Gst.Caps load_thyself (void* parent);
207 [ReturnsModifiedPointer]
208 public void make_writable ();
209 public void merge (owned Gst.Caps caps2);
210 public void merge_structure (owned Gst.Structure structure);
211 public Gst.Caps normalize ();
212 public Gst.Caps @ref ();
213 public void remove_structure (uint idx);
214 public static void replace (ref Gst.Caps? oldobj, Gst.Caps? newobj);
215 public void* save_thyself (void* parent);
216 public void set_simple (string field, ...);
217 public void set_simple_valist (string field, void* varargs);
218 public void set_value (string field, Gst.Value value);
219 [CCode (has_construct_function = false)]
220 public Caps.simple (string media_type, string fieldname, ...);
221 public Gst.Caps subtract (Gst.Caps subtrahend);
222 public string to_string ();
223 public void truncate ();
224 public Gst.Caps union (Gst.Caps caps2);
225 public void unref ();
227 [CCode (cheader_filename = "gst/gst.h")]
228 public abstract class Clock : Gst.Object {
229 public weak Gst.ClockID clockid;
230 public weak GLib.List<Gst.ClockEntry> entries;
231 public weak GLib.Cond entries_changed;
232 public Gst.ClockTime external_calibration;
234 public Gst.ClockTime internal_calibration;
235 public Gst.ClockTime last_time;
236 public weak Gst.Clock master;
237 public Gst.ClockTime rate_denominator;
238 public Gst.ClockTime rate_numerator;
239 public Gst.ClockTime resolution;
240 public weak GLib.Mutex slave_lock;
241 public int time_index;
242 [CCode (array_length = false)]
243 public weak Gst.ClockTime[] times;
244 public bool add_observation (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared);
245 public Gst.ClockTime adjust_unlocked (Gst.ClockTime @internal);
247 public virtual Gst.ClockTime change_resolution (Gst.ClockTime old_resolution, Gst.ClockTime new_resolution);
248 public void get_calibration (out Gst.ClockTime @internal, out Gst.ClockTime external, out Gst.ClockTime rate_num, out Gst.ClockTime rate_denom);
249 public virtual Gst.ClockTime get_internal_time ();
250 public Gst.Clock? get_master ();
251 public virtual Gst.ClockTime get_resolution ();
252 public Gst.ClockTime get_time ();
253 public void set_calibration (Gst.ClockTime @internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom);
254 public bool set_master (Gst.Clock? master);
255 public Gst.ClockTime set_resolution (Gst.ClockTime resolution);
256 public Gst.ClockTime unadjust_unlocked (Gst.ClockTime external);
258 public virtual void unschedule (Gst.ClockEntry entry);
260 public virtual Gst.ClockReturn wait (Gst.ClockEntry entry);
262 public virtual Gst.ClockReturn wait_async (Gst.ClockEntry entry);
264 public virtual Gst.ClockReturn wait_jitter (Gst.ClockEntry entry, out Gst.ClockTimeDiff jitter);
266 public bool stats { get; set; }
268 public uint64 timeout { get; set; }
270 public int window_size { get; set; }
272 public int window_threshold { get; set; }
275 [CCode (cheader_filename = "gst/gst.h")]
276 public class ClockEntry {
277 public weak Gst.Clock clock;
278 public weak Gst.ClockCallback func;
279 public Gst.ClockTime interval;
281 public Gst.ClockReturn status;
282 public Gst.ClockTime time;
283 public Gst.ClockEntryType type;
284 public void* user_data;
287 [CCode (ref_function = "gst_clock_id_ref", unref_function = "gst_clock_id_unref", cheader_filename = "gst/gst.h")]
288 public class ClockID {
289 public static int compare_func (void* id1, void* id2);
290 public Gst.ClockTime get_time ();
291 [CCode (cname = "gst_clock_new_periodic_id")]
292 public ClockID.periodic (Gst.Clock clock, Gst.ClockTime start_time, Gst.ClockTime interval);
293 [CCode (cname = "gst_clock_new_single_shot_id")]
294 public ClockID.single_shot (Gst.Clock clock, Gst.ClockTime time);
295 public void unschedule ();
296 public Gst.ClockReturn wait (Gst.ClockTimeDiff jitter);
297 public Gst.ClockReturn wait_async (Gst.ClockCallback func);
300 [CCode (type_id = "GST_TYPE_DATE", cheader_filename = "gst/gst.h")]
304 [CCode (cheader_filename = "gst/gst.h")]
305 public class DebugCategory {
306 [CCode (cname = "GST_CAT_DEBUG")]
307 public void debug (string format, ...);
308 [CCode (cname = "GST_CAT_DEBUG_OBJECT")]
309 public void debug_object (GLib.Object obj, string format, ...);
310 [CCode (cname = "GST_CAT_ERROR")]
311 public void error (string format, ...);
312 [CCode (cname = "GST_CAT_ERROR_OBJECT")]
313 public void error_object (GLib.Object obj, string format, ...);
314 [CCode (cname = "GST_DEBUG_CATEGORY_GET")]
315 public static unowned Gst.DebugCategory @get (string name);
316 public uint get_color ();
317 public unowned string get_description ();
318 public unowned string get_name ();
319 public Gst.DebugLevel get_threshold ();
320 [CCode (cname = "GST_CAT_INFO")]
321 public void info (string format, ...);
322 [CCode (cname = "GST_CAT_INFO_OBJECT")]
323 public void info_object (GLib.Object obj, string format, ...);
324 [CCode (cname = "GST_DEBUG_CATEGORY_INIT")]
325 public void init (string name, uint color, string description);
326 [CCode (cname = "GST_CAT_LOG")]
327 public void log (string format, ...);
328 [CCode (cname = "GST_CAT_LOG_OBJECT")]
329 public void log_object (GLib.Object obj, string format, ...);
330 public void reset_threshold ();
331 public void set_threshold (Gst.DebugLevel level);
332 [CCode (cname = "GST_CAT_WARNING")]
333 public void warning (string format, ...);
334 [CCode (cname = "GST_CAT_WARNING_OBJECT")]
335 public void warning_object (GLib.Object obj, string format, ...);
338 [CCode (cheader_filename = "gst/gst.h")]
339 public class DebugMessage {
340 public unowned string @get ();
342 [CCode (cheader_filename = "gst/gst.h")]
343 public abstract class Element : Gst.Object {
344 public Gst.ClockTimeDiff base_time;
345 public weak Gst.Bus bus;
346 public weak Gst.Clock clock;
347 public Gst.State current_state;
348 public Gst.StateChangeReturn last_return;
349 public Gst.State next_state;
350 public uint16 numpads;
351 public uint16 numsinkpads;
352 public uint16 numsrcpads;
353 public weak GLib.List<Gst.Pad> pads;
354 public uint32 pads_cookie;
355 public Gst.State pending_state;
356 public weak GLib.List<Gst.Pad> sinkpads;
357 public weak GLib.List<Gst.Pad> srcpads;
358 public weak GLib.Cond state_cond;
359 public uint32 state_cookie;
360 public void* state_lock;
361 [CCode (cname = "abidata.ABI.target_state")]
362 public Gst.State target_state;
363 public void abort_state ();
364 public bool add_pad (owned Gst.Pad pad);
365 [CCode (cname = "gst_element_class_add_pad_template")]
366 public class void add_pad_template (Gst.PadTemplate templ);
367 public virtual Gst.StateChangeReturn change_state (Gst.StateChange transition);
368 public Gst.StateChangeReturn continue_state (Gst.StateChangeReturn ret);
369 public void create_all_pads ();
370 public void found_tags (owned Gst.TagList list);
371 public void found_tags_for_pad (Gst.Pad pad, owned Gst.TagList list);
372 public Gst.ClockTime get_base_time ();
373 public Gst.Bus? get_bus ();
374 public Gst.Clock? get_clock ();
375 public Gst.Pad? get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
376 public unowned Gst.PadTemplate? get_compatible_pad_template (Gst.PadTemplate compattempl);
377 public unowned Gst.ElementFactory? get_factory ();
378 public virtual Gst.Index? get_index ();
379 public Gst.Pad? get_pad (string name);
380 [CCode (cname = "gst_element_class_get_pad_template")]
381 public class unowned Gst.PadTemplate? get_pad_template (string name);
382 [CCode (cname = "gst_element_class_get_pad_template_list")]
383 public class unowned GLib.List<Gst.PadTemplate> get_pad_template_list ();
384 [CCode (array_length = false)]
385 public virtual unowned Gst.QueryType[]? get_query_types ();
386 public Gst.Pad? get_request_pad (string name);
387 public Gst.ClockTime get_start_time ();
388 public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, Gst.ClockTime timeout);
389 public Gst.Pad? get_static_pad (string name);
390 public bool implements_interface (GLib.Type iface_type);
391 [CCode (cname = "gst_element_class_install_std_props")]
392 public class void install_std_props (...);
393 public bool is_indexable ();
394 public bool is_locked_state ();
395 public Gst.Iterator<Gst.Pad> iterate_pads ();
396 public Gst.Iterator<Gst.Pad> iterate_sink_pads ();
397 public Gst.Iterator<Gst.Pad> iterate_src_pads ();
398 public bool link (Gst.Element dest);
399 public bool link_filtered (Gst.Element dest, Gst.Caps filter);
400 public bool link_many (Gst.Element element_2, ...);
401 public bool link_pads (string srcpadname, Gst.Element dest, string destpadname);
402 public bool link_pads_filtered (string srcpadname, Gst.Element dest, string destpadname, Gst.Caps filter);
403 public void lost_state ();
404 public void lost_state_full (bool new_base_time);
405 public static Gst.Element? make_from_uri (Gst.URIType type, string uri, string? elementname);
406 public void message_full (Gst.MessageType type, GLib.Quark domain, int code, string? text, string? debug, string file, string function, int line);
407 public bool post_message (owned Gst.Message message);
408 public virtual Gst.Clock? provide_clock ();
409 public bool provides_clock ();
410 public virtual bool query (Gst.Query query);
411 public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
412 public bool query_duration (ref Gst.Format format, out int64 duration);
413 public bool query_position (ref Gst.Format format, out int64 cur);
414 public static bool register (Gst.Plugin? plugin, string name, uint rank, GLib.Type type);
416 public virtual void release_pad (Gst.Pad pad);
417 public void release_request_pad (Gst.Pad pad);
418 public bool remove_pad (Gst.Pad pad);
420 public virtual unowned Gst.Pad request_new_pad (Gst.PadTemplate templ, string? name);
421 public bool requires_clock ();
422 public bool seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType cur_type, int64 cur, Gst.SeekType stop_type, int64 stop);
423 public bool seek_simple (Gst.Format format, Gst.SeekFlags seek_flags, int64 seek_pos);
424 public virtual bool send_event (owned Gst.Event event);
425 public void set_base_time (Gst.ClockTime time);
426 public virtual void set_bus (Gst.Bus? bus);
427 public virtual bool set_clock (Gst.Clock? clock);
428 [CCode (cname = "gst_element_class_set_details")]
429 public class void set_details (Gst.ElementDetails details);
430 [CCode (cname = "gst_element_class_set_details_simple")]
431 public class void set_details_simple (string longname, string classification, string description, string author);
432 public virtual void set_index (Gst.Index? index);
433 public bool set_locked_state (bool locked_state);
434 public void set_start_time (Gst.ClockTime time);
435 public virtual Gst.StateChangeReturn set_state (Gst.State state);
436 public bool sync_state_with_parent ();
437 public void unlink (Gst.Element dest);
438 public void unlink_many (Gst.Element element_2, ...);
439 public void unlink_pads (string srcpadname, Gst.Element dest, string destpadname);
441 public virtual signal void no_more_pads ();
442 public virtual signal void pad_added (Gst.Pad pad);
443 public virtual signal void pad_removed (Gst.Pad pad);
445 [CCode (cheader_filename = "gst/gst.h")]
446 public class ElementFactory : Gst.PluginFeature {
447 public bool can_sink_caps (Gst.Caps caps);
448 public bool can_src_caps (Gst.Caps caps);
449 public Gst.Element? create (string? name);
450 public static Gst.ElementFactory? find (string name);
451 public unowned string get_author ();
452 public unowned string get_description ();
453 public GLib.Type get_element_type ();
454 public unowned string get_klass ();
455 public unowned string get_longname ();
456 public uint get_num_pad_templates ();
457 public unowned GLib.List<Gst.StaticPadTemplate> get_static_pad_templates ();
458 [CCode (array_length = false, array_null_terminated = true)]
459 public string[]? get_uri_protocols ();
460 public int get_uri_type ();
461 public bool has_interface (string interfacename);
462 public static Gst.Element? make (string factoryname, string? name);
464 [CCode (ref_function = "gst_event_ref", unref_function = "gst_event_unref", cheader_filename = "gst/gst.h")]
465 public class Event : Gst.MiniObject {
466 public weak Gst.Object src;
467 public uint64 timestamp;
468 public Gst.EventType type;
469 [CCode (has_construct_function = false)]
470 public Event.buffer_size (Gst.Format format, int64 minsize, int64 maxsize, bool @async);
471 public Gst.Event copy ();
472 [CCode (has_construct_function = false)]
473 public Event.custom (Gst.EventType type, owned Gst.Structure structure);
474 [CCode (has_construct_function = false)]
476 [CCode (has_construct_function = false)]
477 public Event.flush_start ();
478 [CCode (has_construct_function = false)]
479 public Event.flush_stop ();
480 public uint32 get_seqnum ();
481 public unowned Gst.Structure get_structure ();
482 public bool has_name (string name);
483 [CCode (cname = "GST_EVENT_IS_DOWNSTREAM")]
484 public bool is_downstream ();
485 [CCode (cname = "GST_EVENT_IS_SERIALIZED")]
486 public bool is_serialized ();
487 [CCode (cname = "GST_EVENT_IS_UPSTREAM")]
488 public bool is_upstream ();
489 [CCode (has_construct_function = false)]
490 public Event.latency (Gst.ClockTime latency);
491 [CCode (has_construct_function = false)]
492 public Event.navigation (owned Gst.Structure structure);
493 [CCode (has_construct_function = false)]
494 public Event.new_segment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 position);
495 [CCode (has_construct_function = false)]
496 public Event.new_segment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 position);
497 public void parse_buffer_size (out Gst.Format format, out int64 minsize, out int64 maxsize, out bool @async);
498 public void parse_latency (out Gst.ClockTime latency);
499 public void parse_new_segment (out bool update, out double rate, out Gst.Format format, out int64 start, out int64 stop, out int64 position);
500 public void parse_new_segment_full (out bool update, out double rate, out double applied_rate, out Gst.Format format, out int64 start, out int64 stop, out int64 position);
501 public void parse_qos (out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
502 public void parse_seek (out double rate, out Gst.Format format, out Gst.SeekFlags flags, out Gst.SeekType start_type, out int64 start, out Gst.SeekType stop_type, out int64 stop);
503 public void parse_sink_message (out unowned Gst.Message msg);
504 public void parse_step (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
505 public void parse_tag (out unowned Gst.TagList taglist);
506 [CCode (has_construct_function = false)]
507 public Event.qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
508 public Gst.Event @ref ();
509 public static void replace (ref Gst.Event? oldobj, Gst.Event? newobj);
510 [CCode (has_construct_function = false)]
511 public Event.seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop);
512 public void set_seqnum (uint32 seqnum);
513 [CCode (has_construct_function = false)]
514 public Event.sink_message (owned Gst.Message msg);
515 [CCode (has_construct_function = false)]
516 public Event.step (Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
517 [CCode (has_construct_function = false)]
518 public Event.tag (owned Gst.TagList taglist);
519 public static Gst.EventTypeFlags type_get_flags (Gst.EventType type);
520 public static unowned string type_get_name (Gst.EventType type);
521 public static GLib.Quark type_to_quark (Gst.EventType type);
522 public void unref ();
525 [CCode (type_id = "GST_TYPE_GERROR", cheader_filename = "gst/gst.h")]
526 public class GError {
528 [CCode (cheader_filename = "gst/gst.h")]
529 public class GhostPad : Gst.Pad {
530 [CCode (type = "GstPad*", has_construct_function = false)]
531 public GhostPad (string? name, Gst.Pad target);
532 [CCode (type = "GstPad*", has_construct_function = false)]
533 public GhostPad.from_template (string? name, Gst.Pad target, Gst.PadTemplate templ);
534 public Gst.Pad? get_target ();
535 [CCode (type = "GstPad*", has_construct_function = false)]
536 public GhostPad.no_target (string? name, Gst.PadDirection dir);
537 [CCode (type = "GstPad*", has_construct_function = false)]
538 public GhostPad.no_target_from_template (string? name, Gst.PadTemplate templ);
539 public bool set_target (Gst.Pad? newtarget);
541 [CCode (cheader_filename = "gst/gst.h")]
542 public class Index : Gst.Object {
543 [CCode (has_construct_function = false)]
545 public unowned Gst.IndexEntry add_association (int id, Gst.AssocFlags flags, Gst.Format format, int64 value, ...);
546 public unowned Gst.IndexEntry? add_associationv (int id, Gst.AssocFlags flags, [CCode (array_length_pos = 2.9)] Gst.IndexAssociation[] list);
548 public virtual void add_entry (Gst.IndexEntry entry);
549 public unowned Gst.IndexEntry? add_format (int id, Gst.Format format);
550 public unowned Gst.IndexEntry? add_id (int id, string description);
551 public unowned Gst.IndexEntry? add_object (int id, string key, GLib.Type type, void* object);
552 public virtual void commit (int id);
553 public virtual unowned Gst.IndexEntry? get_assoc_entry (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value);
554 public unowned Gst.IndexEntry? get_assoc_entry_full (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value, GLib.CompareDataFunc func);
555 public Gst.IndexCertainty get_certainty ();
556 public int get_group ();
557 public virtual bool get_writer_id (Gst.Object writer, out int id);
558 [CCode (cname = "GST_INDEX_IS_READABLE")]
559 public bool is_readable ();
560 [CCode (cname = "GST_INDEX_IS_WRITABLE")]
561 public bool is_writable ();
562 public int new_group ();
563 public void set_certainty (Gst.IndexCertainty certainty);
564 [CCode (cname = "gst_index_set_filter_full")]
565 public void set_filter (owned Gst.IndexFilter filter);
566 public bool set_group (int groupnum);
567 [CCode (cname = "gst_index_set_resolver_full")]
568 public void set_resolver (owned Gst.IndexResolver resolver);
570 public Gst.IndexResolver resolver { owned get; set; }
571 public virtual signal void entry_added (Gst.IndexEntry entry);
574 [CCode (copy_function = "gst_index_entry_copy", cheader_filename = "gst/gst.h")]
575 public class IndexEntry {
576 public Gst.IndexEntryType type;
577 [CCode (cname = "GST_INDEX_ASSOC_FLAGS")]
578 public Gst.AssocFlags assoc_flags ();
579 [CCode (cname = "GST_INDEX_ASSOC_FORMAT")]
580 public Gst.Format assoc_format (int i);
581 public bool assoc_map (Gst.Format format, out int64 value);
582 [CCode (cname = "GST_INDEX_ASSOC_VALUE")]
583 public Gst.IndexAssociation assoc_value (int i);
584 public Gst.IndexEntry copy ();
585 [CCode (cname = "GST_INDEX_FORMAT_FORMAT")]
586 public Gst.Format format_format ();
587 [CCode (cname = "GST_INDEX_FORMAT_KEY")]
588 public unowned string format_key ();
589 [CCode (cname = "GST_INDEX_ID_DESCRIPTION")]
590 public unowned string id_description ();
591 [CCode (cname = "GST_INDEX_NASSOCS")]
592 public int n_assocs ();
594 [CCode (cheader_filename = "gst/gst.h")]
595 public class IndexFactory : Gst.PluginFeature {
596 public weak string longdesc;
597 public GLib.Type type;
598 [CCode (has_construct_function = false)]
599 public IndexFactory (string name, string longdesc, GLib.Type type);
600 public Gst.Index create ();
601 public void destroy ();
602 public static Gst.IndexFactory? find (string name);
603 public static Gst.Index? make (string name);
606 [CCode (cheader_filename = "gst/gst.h")]
607 public class Iterator<T> {
608 public uint32 cookie;
609 public weak GLib.Mutex @lock;
610 public void* master_cookie;
611 public weak Gst.Iterator pushed;
612 public GLib.Type type;
613 [CCode (has_construct_function = false)]
614 public Iterator (uint size, GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, Gst.IteratorNextFunction next, Gst.IteratorItemFunction item, Gst.IteratorResyncFunction resync, Gst.IteratorFreeFunction free);
615 public T find_custom (GLib.CompareFunc func, T user_data);
616 public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction func, Gst.Value? ret);
617 public Gst.IteratorResult @foreach (GLib.Func func);
618 [CCode (has_construct_function = false)]
619 public Iterator.list (GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, GLib.List<T> list, void* owner, Gst.IteratorItemFunction item, Gst.IteratorDisposeFunction free);
620 public Gst.IteratorResult next (out T elem);
621 public void push (Gst.Iterator other);
622 public void resync ();
623 [CCode (has_construct_function = false)]
624 public Iterator.single (GLib.Type type, T object, Gst.CopyFunction copy, GLib.FreeFunc free);
626 [CCode (ref_function = "gst_message_ref", unref_function = "gst_message_unref", cheader_filename = "gst/gst.h")]
627 public class Message : Gst.MiniObject {
628 public weak Gst.Object src;
629 public uint64 timestamp;
630 public Gst.MessageType type;
631 [CCode (has_construct_function = false)]
632 public Message.application (Gst.Object src, owned Gst.Structure? structure);
633 [CCode (has_construct_function = false)]
634 public Message.async_done (Gst.Object src);
635 [CCode (has_construct_function = false)]
636 public Message.async_start (Gst.Object src, bool new_base_time);
637 [CCode (has_construct_function = false)]
638 public Message.buffering (Gst.Object src, int percent);
639 [CCode (has_construct_function = false)]
640 public Message.clock_lost (Gst.Object src, Gst.Clock clock);
641 [CCode (has_construct_function = false)]
642 public Message.clock_provide (Gst.Object src, Gst.Clock clock, bool ready);
643 public Gst.Message copy ();
644 [CCode (has_construct_function = false)]
645 public Message.custom (Gst.MessageType type, Gst.Object src, owned Gst.Structure? structure);
646 [CCode (has_construct_function = false)]
647 public Message.duration (Gst.Object src, Gst.Format format, int64 duration);
648 [CCode (has_construct_function = false)]
649 public Message.element (Gst.Object src, owned Gst.Structure? structure);
650 [CCode (has_construct_function = false)]
651 public Message.eos (Gst.Object src);
652 [CCode (has_construct_function = false)]
653 public Message.error (Gst.Object src, GLib.Error error, string? debug);
654 public uint32 get_seqnum ();
655 public unowned Gst.Value? get_stream_status_object ();
656 public unowned Gst.Structure? get_structure ();
657 [CCode (has_construct_function = false)]
658 public Message.info (Gst.Object src, GLib.Error error, string? debug);
659 [CCode (has_construct_function = false)]
660 public Message.latency (Gst.Object src);
661 [ReturnsModifiedPointer]
662 public void make_writable ();
663 [CCode (has_construct_function = false)]
664 public Message.new_clock (Gst.Object src, Gst.Clock clock);
665 public void parse_async_start (out bool new_base_time);
666 public void parse_buffering (out int percent);
667 public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
668 public void parse_clock_lost (out unowned Gst.Clock clock);
669 public void parse_clock_provide (out unowned Gst.Clock clock, out bool ready);
670 public void parse_duration (out Gst.Format format, out int64 duration);
671 public void parse_error (out GLib.Error gerror, out string? debug);
672 public void parse_info (out GLib.Error gerror, out string? debug);
673 public void parse_new_clock (out unowned Gst.Clock clock);
674 public void parse_request_state (out Gst.State state);
675 public void parse_segment_done (out Gst.Format format, out int64 position);
676 public void parse_segment_start (out Gst.Format format, out int64 position);
677 public void parse_state_changed (out Gst.State oldstate, out Gst.State newstate, out Gst.State pending);
678 public void parse_step_done (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate, out uint64 duration, out bool eos);
679 public void parse_step_start (out bool active, out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
680 public void parse_stream_status (out Gst.StreamStatusType type, out unowned Gst.Element owner);
681 public void parse_structure_change (out Gst.StructureChangeType type, out unowned Gst.Element owner, out bool busy);
682 public void parse_tag (out Gst.TagList tag_list);
683 public void parse_tag_full (out unowned Gst.Pad pad, out unowned Gst.TagList tag_list);
684 public void parse_warning (out GLib.Error gerror, out string? debug);
685 public Gst.Message @ref ();
686 [CCode (has_construct_function = false)]
687 public Message.request_state (Gst.Object src, Gst.State state);
688 [CCode (has_construct_function = false)]
689 public Message.segment_done (Gst.Object src, Gst.Format format, int64 position);
690 [CCode (has_construct_function = false)]
691 public Message.segment_start (Gst.Object src, Gst.Format format, int64 position);
692 public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
693 public void set_seqnum (uint32 seqnum);
694 public void set_stream_status_object (ref unowned Gst.Value? object);
695 [CCode (has_construct_function = false)]
696 public Message.state_changed (Gst.Object src, Gst.State oldstate, Gst.State newstate, Gst.State pending);
697 [CCode (has_construct_function = false)]
698 public Message.state_dirty (Gst.Object src);
699 [CCode (has_construct_function = false)]
700 public Message.step_done (Gst.Object src, Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate, uint64 duration, bool eos);
701 [CCode (has_construct_function = false)]
702 public Message.step_start (Gst.Object src, bool active, Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
703 [CCode (has_construct_function = false)]
704 public Message.stream_status (Gst.Object src, Gst.StreamStatusType type, Gst.Element owner);
705 [CCode (has_construct_function = false)]
706 public Message.structure_change (Gst.Object src, Gst.StructureChangeType type, Gst.Element owner, bool busy);
707 [CCode (has_construct_function = false)]
708 public Message.tag (Gst.Object src, Gst.TagList tag_list);
709 [CCode (has_construct_function = false)]
710 public Message.tag_full (Gst.Object src, Gst.Pad pad, Gst.TagList tag_list);
711 public static GLib.Quark type_to_quark (Gst.MessageType type);
712 public void unref ();
713 [CCode (has_construct_function = false)]
714 public Message.warning (Gst.Object src, GLib.Error error, string? debug);
716 [CCode (ref_function = "gst_mini_object_ref", unref_function = "gst_mini_object_unref", cheader_filename = "gst/gst.h")]
717 public abstract class MiniObject {
718 public Gst.MiniObjectFlags flags;
719 [CCode (has_construct_function = false)]
720 public MiniObject (GLib.Type type);
721 public virtual Gst.MiniObject copy ();
722 public virtual void finalize ();
723 [CCode (cname = "GST_MINI_OBJECT_FLAG_IS_SET")]
724 public bool flag_is_set (Gst.MiniObjectFlags flag);
725 [CCode (cname = "GST_MINI_OBJECT_FLAG_SET")]
726 public void flag_set (Gst.MiniObjectFlags flag);
727 [CCode (cname = "GST_MINI_OBJECT_FLAG_UNSET")]
728 public void flag_unset (Gst.MiniObjectFlags flag);
729 public bool is_writable ();
730 [ReturnsModifiedPointer]
731 public void make_writable ();
732 public Gst.MiniObject @ref ();
733 public static void replace (ref Gst.MiniObject? oldobj, Gst.MiniObject? newobj);
734 public void unref ();
736 [CCode (ref_function = "gst_object_ref", unref_function = "gst_object_unref", cheader_filename = "gst/gst.h")]
737 public abstract class Object : GLib.Object {
738 public Gst.ObjectFlags flags;
739 public weak GLib.Mutex @lock;
740 public weak string name_prefix;
741 public weak Gst.Object parent;
742 public static bool check_uniqueness (GLib.List<Gst.Object> list, string name);
743 public static void default_deep_notify (GLib.Object object, Gst.Object orig, GLib.ParamSpec pspec, string? excluded_props);
744 public void default_error (GLib.Error error, string? debug);
745 [CCode (cname = "GST_OBJECT_FLAG_IS_SET")]
746 public bool flag_is_set (Gst.ObjectFlags flag);
747 [CCode (cname = "GST_OBJECT_FLAG_SET")]
748 public void flag_set (Gst.ObjectFlags flag);
749 [CCode (cname = "GST_OBJECT_FLAG_UNSET")]
750 public void flag_unset (Gst.ObjectFlags flag);
751 public string get_name ();
752 public string get_name_prefix ();
753 public Gst.Object get_parent ();
754 public string get_path_string ();
755 public bool has_ancestor (Gst.Object ancestor);
756 [CCode (cname = "GST_OBJECT_IS_DISPOSING")]
757 public bool is_disposing ();
758 [CCode (cname = "GST_OBJECT_IS_FLOATING")]
759 public bool is_floating ();
760 public Gst.Object @ref ();
761 public void ref_sink ();
762 public static void replace (ref Gst.Object? oldobj, Gst.Object? newobj);
763 public virtual void restore_thyself (void* self);
764 public virtual void* save_thyself (void* parent);
765 public bool set_name (string name);
766 public void set_name_prefix (string name_prefix);
767 public bool set_parent (Gst.Object parent);
769 public void unparent ();
770 public void unref ();
771 public string name { get; set construct; }
772 public virtual signal void deep_notify (Gst.Object orig, GLib.ParamSpec pspec);
773 public virtual signal void object_saved (void* parent);
774 public virtual signal void parent_set (Gst.Object parent);
775 public virtual signal void parent_unset (Gst.Object parent);
777 [CCode (cheader_filename = "gst/gst.h")]
778 public class Pad : Gst.Object {
779 public void* abidata;
780 public weak Gst.PadAcceptCapsFunction acceptcapsfunc;
781 public weak Gst.PadActivateFunction activatefunc;
782 public weak Gst.PadActivateModeFunction activatepullfunc;
783 public weak Gst.PadActivateModeFunction activatepushfunc;
784 public weak Gst.PadBlockCallback block_callback;
785 public weak GLib.Cond block_cond;
786 public void* block_data;
787 public weak GLib.DestroyNotify block_destroy_data;
788 public weak Gst.PadBufferAllocFunction bufferallocfunc;
789 public weak Gst.PadChainFunction chainfunc;
790 public weak Gst.PadCheckGetRangeFunction checkgetrangefunc;
791 public int do_buffer_signals;
792 public int do_event_signals;
793 public void* element_private;
794 public weak Gst.PadEventFunction eventfunc;
795 public weak Gst.PadFixateCapsFunction fixatecapsfunc;
796 public weak Gst.PadGetCapsFunction getcapsfunc;
797 public weak Gst.PadGetRangeFunction getrangefunc;
798 public weak Gst.PadIntLinkFunction intlinkfunc;
799 public weak Gst.PadIterIntLinkFunction iterintlinkfunc;
800 public weak Gst.PadLinkFunction linkfunc;
801 public Gst.ActivateMode mode;
802 public weak Gst.PadTemplate padtemplate;
803 public weak Gst.Pad peer;
804 public weak GLib.Cond preroll_cond;
805 public weak GLib.Mutex preroll_lock;
806 public weak Gst.PadQueryFunction queryfunc;
807 public void* sched_private;
808 public weak Gst.PadSetCapsFunction setcapsfunc;
809 public void* stream_rec_lock;
810 public weak Gst.Task task;
811 public weak Gst.PadUnlinkFunction unlinkfunc;
812 [CCode (array_length_pos = 0, delegate_target_pos = 0)]
813 public Pad (string name, Gst.PadDirection direction);
814 public bool accept_caps (Gst.Caps caps);
815 public bool activate_pull (bool active);
816 public bool activate_push (bool active);
817 public uint add_buffer_probe (Gst.BufferProbeCallback handler);
818 public uint add_buffer_probe_full (Gst.BufferProbeCallback handler, GLib.DestroyNotify notify);
819 public uint add_data_probe (Gst.DataProbeCallback handler);
820 public uint add_data_probe_full (Gst.DataProbeCallback handler, GLib.DestroyNotify notify);
821 public uint add_event_probe (Gst.EventProbeCallback handler);
822 public uint add_event_probe_full (Gst.EventProbeCallback handler, GLib.DestroyNotify notify);
823 public Gst.FlowReturn alloc_buffer (uint64 offset, int size, Gst.Caps caps, out unowned Gst.Buffer buf);
824 public Gst.FlowReturn alloc_buffer_and_set_caps (uint64 offset, int size, Gst.Caps caps, out unowned Gst.Buffer buf);
825 public bool can_link (Gst.Pad sinkpad);
826 public Gst.FlowReturn chain (owned Gst.Buffer buffer);
827 public Gst.FlowReturn chain_list (Gst.BufferList list);
828 public bool check_pull_range ();
829 public bool dispatcher (Gst.PadDispatcherFunction dispatch, void* data);
830 public bool event_default (Gst.Event event);
831 public void fixate_caps (Gst.Caps caps);
832 [CCode (has_construct_function = false)]
833 public Pad.from_static_template (Gst.StaticPadTemplate templ, string name);
834 [CCode (has_construct_function = false)]
835 public Pad.from_template (Gst.PadTemplate templ, string name);
836 public Gst.Caps get_allowed_caps ();
837 public Gst.Caps get_caps ();
838 public unowned Gst.Caps get_caps_reffed ();
839 public Gst.PadDirection get_direction ();
840 public void* get_element_private ();
841 public unowned Gst.Caps get_fixed_caps_func ();
842 public unowned GLib.List get_internal_links ();
843 public unowned GLib.List get_internal_links_default ();
844 public Gst.Caps get_negotiated_caps ();
845 public unowned Gst.PadTemplate get_pad_template ();
846 public unowned Gst.Caps get_pad_template_caps ();
847 public unowned Gst.Element get_parent_element ();
848 public Gst.Pad get_peer ();
849 public Gst.QueryType get_query_types ();
850 public Gst.QueryType get_query_types_default ();
851 public Gst.FlowReturn get_range (uint64 offset, uint size, out unowned Gst.Buffer buffer);
852 public bool is_active ();
853 public bool is_blocked ();
854 public bool is_blocking ();
855 public bool is_linked ();
856 public Gst.Iterator<Gst.Pad> iterate_internal_links ();
857 public Gst.Iterator<Gst.Pad> iterate_internal_links_default ();
858 public Gst.PadLinkReturn link (Gst.Pad sinkpad);
859 public void load_and_link (Gst.Object parent);
860 public bool pause_task ();
861 public bool peer_accept_caps (Gst.Caps caps);
862 public Gst.Caps peer_get_caps ();
863 public unowned Gst.Caps peer_get_caps_reffed ();
864 public bool peer_query (Gst.Query query);
865 public unowned Gst.Caps proxy_getcaps ();
866 public bool proxy_setcaps (Gst.Caps caps);
867 public Gst.FlowReturn pull_range (uint64 offset, uint size, out unowned Gst.Buffer buffer);
868 public Gst.FlowReturn push (owned Gst.Buffer buffer);
869 public bool push_event (owned Gst.Event event);
870 public Gst.FlowReturn push_list (Gst.BufferList list);
871 public bool query (Gst.Query query);
872 public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
873 public bool query_default (Gst.Query query);
874 public bool query_duration (ref Gst.Format format, out int64 duration);
875 public bool query_peer_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
876 public bool query_peer_duration (ref Gst.Format format, out int64 duration);
877 public bool query_peer_position (ref Gst.Format format, out int64 cur);
878 public bool query_position (ref Gst.Format format, out int64 cur);
879 public void remove_buffer_probe (uint handler_id);
880 public void remove_data_probe (uint handler_id);
881 public void remove_event_probe (uint handler_id);
882 public bool send_event (owned Gst.Event event);
883 public void set_acceptcaps_function (Gst.PadAcceptCapsFunction acceptcaps);
884 public void set_activate_function (Gst.PadActivateFunction activate);
885 public void set_activatepull_function (Gst.PadActivateModeFunction activatepull);
886 public void set_activatepush_function (Gst.PadActivateModeFunction activatepush);
887 public bool set_active (bool active);
888 public bool set_blocked (bool blocked);
889 public bool set_blocked_async (bool blocked, Gst.PadBlockCallback callback);
890 public bool set_blocked_async_full (bool blocked, Gst.PadBlockCallback callback, GLib.DestroyNotify destroy_data);
891 public void set_bufferalloc_function (Gst.PadBufferAllocFunction bufalloc);
892 public bool set_caps (Gst.Caps? caps);
893 public void set_chain_function (Gst.PadChainFunction chain);
894 public void set_chain_list_function (Gst.PadChainListFunction chainlist);
895 public void set_checkgetrange_function (Gst.PadCheckGetRangeFunction check);
896 public void set_element_private (void* priv);
897 public void set_event_function (Gst.PadEventFunction event);
898 public void set_fixatecaps_function (Gst.PadFixateCapsFunction fixatecaps);
899 public void set_getcaps_function (Gst.PadGetCapsFunction getcaps);
900 public void set_getrange_function (Gst.PadGetRangeFunction @get);
901 public void set_internal_link_function (Gst.PadIntLinkFunction intlink);
902 public void set_iterate_internal_links_function (Gst.PadIterIntLinkFunction iterintlink);
903 public void set_link_function (Gst.PadLinkFunction link);
904 public void set_query_function (Gst.PadQueryFunction query);
905 public void set_setcaps_function (Gst.PadSetCapsFunction setcaps);
906 public void set_unlink_function (Gst.PadUnlinkFunction unlink);
907 public bool start_task (Gst.TaskFunction func);
908 public bool stop_task ();
909 public bool unlink (Gst.Pad sinkpad);
910 public void use_fixed_caps ();
912 public Gst.Caps caps { owned get; }
913 public Gst.PadDirection direction { get; construct; }
915 public Gst.PadTemplate template { owned get; set; }
916 public virtual signal bool have_data (Gst.MiniObject data);
917 public virtual signal void linked (Gst.Pad peer);
918 public virtual signal void request_link ();
919 public virtual signal void unlinked (Gst.Pad peer);
921 [CCode (cheader_filename = "gst/gst.h")]
922 public class PadTemplate : Gst.Object {
923 [CCode (has_construct_function = false)]
924 public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, owned Gst.Caps caps);
925 public unowned Gst.Caps get_caps ();
926 public Gst.Caps caps { get; construct; }
928 public Gst.PadDirection direction { get; construct; }
930 public string name_template { owned get; construct; }
932 public Gst.PadPresence presence { get; construct; }
934 public virtual signal void pad_created (Gst.Pad pad);
936 [CCode (cheader_filename = "gst/gst.h")]
937 public class ParamSpecFraction : GLib.ParamSpec {
945 [CCode (cheader_filename = "gst/gst.h")]
946 public class ParamSpecMiniObject : GLib.ParamSpec {
949 [CCode (cheader_filename = "gst/gst.h")]
950 public class ParseContext {
951 [CCode (has_construct_function = false)]
952 public ParseContext ();
953 public unowned string get_missing_elements ();
955 [CCode (cheader_filename = "gst/gst.h")]
956 public class Pipeline : Gst.Bin, Gst.ChildProxy {
957 public weak Gst.Clock fixed_clock;
958 public Gst.ClockTime stream_time;
959 [CCode (type = "GstElement*", has_construct_function = false)]
960 public Pipeline (string? name);
961 public void auto_clock ();
962 public bool get_auto_flush_bus ();
963 public Gst.Bus get_bus ();
964 public unowned Gst.Clock get_clock ();
965 public Gst.ClockTime get_delay ();
966 public Gst.ClockTime get_last_stream_time ();
967 public void set_auto_flush_bus (bool auto_flush);
968 public bool set_clock (Gst.Clock clock);
969 public void set_delay (Gst.ClockTime delay);
970 public void set_new_stream_time (Gst.ClockTime time);
971 public void use_clock (Gst.Clock clock);
972 public bool auto_flush_bus { get; set; }
973 public uint64 delay { get; set; }
975 [CCode (cheader_filename = "gst/gst.h")]
976 public class Plugin : Gst.Object {
977 public weak string basename;
978 public Gst.PluginDesc desc;
979 public ulong file_mtime;
980 public int64 file_size;
981 public weak string filename;
983 public weak GLib.Module module;
984 public Gst.PluginDesc orig_desc;
985 public bool registered;
986 public void add_dependency (string env_vars, string paths, string names, Gst.PluginDependencyFlags flags);
987 public void add_dependency_simple (string env_vars, string paths, string names, Gst.PluginDependencyFlags flags);
988 public static GLib.Quark error_quark ();
989 public unowned Gst.Structure get_cache_data ();
990 public unowned string get_description ();
991 public unowned string get_filename ();
992 public unowned string get_license ();
993 public unowned GLib.Module get_module ();
994 public unowned string get_name ();
995 public unowned string get_origin ();
996 public unowned string get_package ();
997 public unowned string get_source ();
998 public unowned string get_version ();
999 public bool is_loaded ();
1000 public static void list_free (GLib.List list);
1001 public unowned Gst.Plugin load ();
1002 public static unowned Gst.Plugin load_by_name (string name);
1003 public static unowned Gst.Plugin load_file (string filename) throws GLib.Error;
1004 public bool name_filter (string name);
1005 public static bool register_static (int major_version, int minor_version, string name, string description, Gst.PluginInitFunc init_func, string version, string license, string source, string package, string origin);
1006 public static bool register_static_full (int major_version, int minor_version, string name, string description, Gst.PluginInitFullFunc init_full_func, string version, string license, string source, string package, string origin);
1007 public void set_cache_data (Gst.Structure cache_data);
1009 [CCode (cheader_filename = "gst/gst.h")]
1010 public class PluginFeature : Gst.Object {
1012 public weak string name;
1013 public weak string plugin_name;
1015 public bool check_version (uint min_major, uint min_minor, uint min_micro);
1016 public unowned string get_name ();
1017 public uint get_rank ();
1018 public static unowned GLib.List list_copy (GLib.List list);
1019 public static void list_free (GLib.List list);
1020 public unowned Gst.PluginFeature load ();
1021 public void set_name (string name);
1022 public void set_rank (uint rank);
1023 public bool type_name_filter (Gst.TypeNameData data);
1026 [CCode (cheader_filename = "gst/gst.h")]
1028 [CCode (has_construct_function = false)]
1029 public Poll (bool controllable);
1030 public bool add_fd (Gst.PollFD fd);
1031 public bool read_control ();
1032 public bool remove_fd (Gst.PollFD fd);
1033 public void restart ();
1034 public bool set_controllable (bool controllable);
1035 public void set_flushing (bool flushing);
1036 [CCode (has_construct_function = false)]
1037 public Poll.timer ();
1038 public int wait (Gst.ClockTime timeout);
1039 public bool write_control ();
1042 [CCode (cheader_filename = "gst/gst.h")]
1043 public class PollFD {
1046 public static bool can_read (Gst.Poll @set, Gst.PollFD fd);
1047 public static bool can_write (Gst.Poll @set, Gst.PollFD fd);
1048 public static bool ctl_read (Gst.Poll @set, Gst.PollFD fd, bool active);
1049 public static bool ctl_write (Gst.Poll @set, Gst.PollFD fd, bool active);
1050 public static bool has_closed (Gst.Poll @set, Gst.PollFD fd);
1051 public static bool has_error (Gst.Poll @set, Gst.PollFD fd);
1052 public static void ignored (Gst.Poll @set, Gst.PollFD fd);
1053 public void init ();
1055 [CCode (cheader_filename = "gst/gst.h")]
1056 public class ProxyPad : Gst.Pad {
1058 [CCode (ref_function = "gst_query_ref", unref_function = "gst_query_unref", cheader_filename = "gst/gst.h")]
1059 public class Query : Gst.MiniObject {
1060 public weak Gst.Structure structure;
1061 public Gst.QueryType type;
1062 [CCode (has_construct_function = false)]
1063 public Query.application (Gst.QueryType type, Gst.Structure structure);
1064 [CCode (has_construct_function = false)]
1065 public Query.buffering (Gst.Format format);
1066 [CCode (has_construct_function = false)]
1067 public Query.convert (Gst.Format src_format, int64 value, Gst.Format dest_format);
1068 public Gst.Query copy ();
1069 [CCode (has_construct_function = false)]
1070 public Query.duration (Gst.Format format);
1071 [CCode (has_construct_function = false)]
1072 public Query.formats ();
1073 public unowned Gst.Structure get_structure ();
1074 [CCode (has_construct_function = false)]
1075 public Query.latency ();
1076 [ReturnsModifiedPointer]
1077 public void make_writable ();
1078 public void parse_buffering_percent (bool busy, int percent);
1079 public void parse_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
1080 public void parse_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
1081 public void parse_convert (out Gst.Format src_format, out int64 src_value, out Gst.Format dest_format, out int64 dest_value);
1082 public void parse_duration (out Gst.Format format, out int64 duration);
1083 public void parse_formats_length (out uint n_formats);
1084 public void parse_formats_nth (uint nth, out Gst.Format format);
1085 public void parse_latency (out bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
1086 public void parse_position (out Gst.Format format, out int64 cur);
1087 public void parse_seeking (out Gst.Format format, out bool seekable, out int64 segment_start, out int64 segment_end);
1088 public void parse_segment (out double rate, out Gst.Format format, out int64 start_value, out int64 stop_value);
1089 public void parse_uri (string uri);
1090 [CCode (has_construct_function = false)]
1091 public Query.position (Gst.Format format);
1092 public Gst.Query @ref ();
1093 [CCode (has_construct_function = false)]
1094 public Query.seeking (Gst.Format format);
1095 [CCode (has_construct_function = false)]
1096 public Query.segment (Gst.Format format);
1097 public void set_buffering_percent (bool busy, int percent);
1098 public void set_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
1099 public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
1100 public void set_convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
1101 public void set_duration (Gst.Format format, int64 duration);
1102 public void set_formats (int n_formats);
1103 public void set_formatsv (int n_formats, Gst.Format formats);
1104 public void set_latency (bool live, Gst.ClockTime min_latency, Gst.ClockTime max_latency);
1105 public void set_position (Gst.Format format, int64 cur);
1106 public void set_seeking (Gst.Format format, bool seekable, int64 segment_start, int64 segment_end);
1107 public void set_segment (double rate, Gst.Format format, int64 start_value, int64 stop_value);
1108 public void set_uri (string uri);
1109 public static Gst.QueryType type_get_by_nick (string nick);
1110 public static unowned Gst.QueryTypeDefinition type_get_details (Gst.QueryType type);
1111 public static Gst.Iterator<Gst.QueryTypeDefinition> type_iterate_definitions ();
1112 public static Gst.QueryType type_register (string nick, string description);
1113 public static GLib.Quark type_to_quark (Gst.QueryType query);
1114 public static bool types_contains (Gst.QueryType types, Gst.QueryType type);
1115 public void unref ();
1116 [CCode (has_construct_function = false)]
1117 public Query.uri ();
1120 [CCode (cheader_filename = "gst/gst.h")]
1121 public class QueryTypeDefinition {
1122 public weak string description;
1123 public weak string nick;
1124 public GLib.Quark quark;
1125 public Gst.QueryType value;
1127 [CCode (cheader_filename = "gst/gst.h")]
1128 public class Registry : Gst.Object {
1129 public weak GLib.HashTable basename_hash;
1130 public int cache_file;
1131 public weak GLib.HashTable feature_hash;
1132 public weak GLib.List features;
1133 public weak GLib.List paths;
1134 public weak GLib.List plugins;
1135 public bool add_feature (Gst.PluginFeature feature);
1136 public void add_path (string path);
1137 public bool add_plugin (Gst.Plugin plugin);
1138 public GLib.List<Gst.PluginFeature> feature_filter ([CCode (delegate_target_pos = 2.1)] Gst.PluginFeatureFilter filter, bool first);
1139 public Gst.PluginFeature find_feature (string name, GLib.Type type);
1140 public Gst.Plugin find_plugin (string name);
1141 public static bool fork_is_enabled ();
1142 public static void fork_set_enabled (bool enabled);
1143 public static unowned Gst.Registry get_default ();
1144 public GLib.List<Gst.PluginFeature> get_feature_list (GLib.Type type);
1145 public GLib.List<Gst.PluginFeature> get_feature_list_by_plugin (string name);
1146 public uint32 get_feature_list_cookie ();
1147 public GLib.List<string> get_path_list ();
1148 public GLib.List<Gst.Plugin> get_plugin_list ();
1149 public Gst.Plugin lookup (string filename);
1150 public Gst.PluginFeature lookup_feature (string name);
1151 public GLib.List<Gst.Plugin> plugin_filter (Gst.PluginFilter filter, bool first);
1152 public void remove_feature (Gst.PluginFeature feature);
1153 public void remove_plugin (Gst.Plugin plugin);
1154 public bool scan_path (string path);
1155 public bool xml_read_cache (string location);
1156 public bool xml_write_cache (string location);
1157 public virtual signal void feature_added (void* feature);
1158 public virtual signal void plugin_added (void* plugin);
1161 [CCode (copy_function = "gst_segment_copy", type_id = "GST_TYPE_SEGMENT", cheader_filename = "gst/gst.h")]
1162 public class Segment {
1163 public double abs_rate;
1165 public double applied_rate;
1166 public int64 duration;
1167 public Gst.SeekFlags flags;
1168 public Gst.Format format;
1169 public int64 last_stop;
1174 [CCode (has_construct_function = false)]
1176 public bool clip (Gst.Format format, int64 start, int64 stop, out int64 clip_start, out int64 clip_stop);
1177 public Gst.Segment copy ();
1178 public void init (Gst.Format format);
1179 public void set_duration (Gst.Format format, int64 duration);
1180 public void set_last_stop (Gst.Format format, int64 position);
1181 public void set_newsegment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 time);
1182 public void set_newsegment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 time);
1183 public bool set_running_time (Gst.Format format, int64 running_time);
1184 public void set_seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop, bool update);
1185 public int64 to_position (Gst.Format format, int64 running_time);
1186 public int64 to_running_time (Gst.Format format, int64 position);
1187 public int64 to_stream_time (Gst.Format format, int64 position);
1191 [CCode (copy_function = "gst_structure_copy", type_id = "GST_TYPE_STRUCTURE", cheader_filename = "gst/gst.h")]
1192 public class Structure {
1193 public weak GLib.Array fields;
1194 public GLib.Quark name;
1195 public int parent_refcount;
1196 public GLib.Type type;
1197 [CCode (has_construct_function = false)]
1198 public Structure (string name, string firstfield, ...);
1199 public Gst.Structure copy ();
1200 [CCode (cname = "gst_structure_empty_new", has_construct_function = false)]
1201 public Structure.empty (string name);
1202 public bool fixate_field_boolean (string field_name, bool target);
1203 public bool fixate_field_nearest_double (string field_name, double target);
1204 public bool fixate_field_nearest_fraction (string field_name, int target_numerator, int target_denominator);
1205 public bool fixate_field_nearest_int (string field_name, int target);
1206 public bool @foreach (Gst.StructureForeachFunc func);
1207 public static Gst.Structure? from_string (string str, out unowned string end);
1208 public bool @get (...);
1209 public bool get_boolean (string fieldname, out bool value);
1210 public bool get_clock_time (string fieldname, out Gst.ClockTime value);
1211 public bool get_date (string fieldname, out GLib.Date value);
1212 public bool get_double (string fieldname, out double value);
1213 public bool get_enum (string fieldname, GLib.Type enumtype, out int value);
1214 public GLib.Type get_field_type (string fieldname);
1215 public bool get_fourcc (string fieldname, out uint32 value);
1216 public bool get_fraction (string fieldname, out int value_numerator, out int value_denominator);
1217 public bool get_int (string fieldname, out int value);
1218 public unowned string get_name ();
1219 public GLib.Quark get_name_id ();
1220 public unowned string get_string (string fieldname);
1221 public bool get_uint (string fieldname, out uint value);
1222 public bool get_valist (string first_fieldname, void* args);
1223 public unowned Gst.Value? get_value (string fieldname);
1224 public bool has_field (string fieldname);
1225 public bool has_field_typed (string fieldname, GLib.Type type);
1226 public bool has_name (string name);
1227 [CCode (cname = "gst_structure_id_empty_new", has_construct_function = false)]
1228 public Structure.id_empty (GLib.Quark quark);
1229 public bool id_get (...);
1230 public bool id_get_valist (GLib.Quark first_field_id, void* args);
1231 public unowned Gst.Value? id_get_value (GLib.Quark field);
1232 public bool id_has_field (GLib.Quark field);
1233 public bool id_has_field_typed (GLib.Quark field, GLib.Type type);
1234 public static unowned Gst.Structure id_new (GLib.Quark name_quark, GLib.Quark field_quark);
1235 public void id_set (GLib.Quark fieldname, ...);
1236 public void id_set_valist (GLib.Quark fieldname, void* varargs);
1237 public void id_set_value (GLib.Quark field, Gst.Value value);
1238 public bool map_in_place (Gst.StructureMapFunc func);
1239 public int n_fields ();
1240 public unowned string nth_field_name (uint index);
1241 public void remove_all_fields ();
1242 public void remove_field (string fieldname);
1243 public void remove_fields (string fieldname, ...);
1244 public void remove_fields_valist (string fieldname, void* varargs);
1245 public void @set (string fieldname, ...);
1246 public void set_name (string name);
1247 public void set_parent_refcount (int refcount);
1248 public void set_valist (string fieldname, void* varargs);
1249 public void set_value (string fieldname, Gst.Value value);
1250 public string to_string ();
1251 [CCode (has_construct_function = false)]
1252 public Structure.valist (string name, string firstfield, void* varargs);
1254 [CCode (cheader_filename = "gst/gst.h")]
1255 public class SystemClock : Gst.Clock {
1256 public bool stopping;
1257 public weak GLib.Thread thread;
1258 public static unowned Gst.Clock obtain ();
1260 public Gst.ClockType clock_type { get; set; }
1263 [CCode (copy_function = "gst_tag_list_copy", cheader_filename = "gst/gst.h")]
1264 public class TagList {
1265 [CCode (has_construct_function = false)]
1267 public void add (Gst.TagMergeMode mode, string tag, ...);
1268 public void add_valist (Gst.TagMergeMode mode, string tag, void* var_args);
1269 public void add_valist_values (Gst.TagMergeMode mode, string tag, void* var_args);
1270 public void add_value (Gst.TagMergeMode mode, string tag, Gst.Value value);
1271 public void add_values (Gst.TagMergeMode mode, string tag, ...);
1272 public Gst.TagList copy ();
1273 public static bool copy_value (out Gst.Value dest, Gst.TagList list, string tag);
1274 public void @foreach (Gst.TagForeachFunc func);
1275 [CCode (has_construct_function = false)]
1276 public TagList.full (string tag);
1277 [CCode (has_construct_function = false)]
1278 public TagList.full_valist (void* var_args);
1279 public bool get_boolean (string tag, out bool value);
1280 public bool get_boolean_index (string tag, uint index, out bool value);
1281 public bool get_buffer (string tag, out unowned Gst.Buffer value);
1282 public bool get_buffer_index (string tag, uint index, out unowned Gst.Buffer value);
1283 public bool get_char (string tag, out char value);
1284 public bool get_char_index (string tag, uint index, out char value);
1285 public bool get_date (string tag, out GLib.Date? value);
1286 public bool get_date_index (string tag, uint index, out GLib.Date? value);
1287 public bool get_double (string tag, out double value);
1288 public bool get_double_index (string tag, uint index, out double value);
1289 public bool get_float (string tag, out float value);
1290 public bool get_float_index (string tag, uint index, out float value);
1291 public bool get_int (string tag, out int value);
1292 public bool get_int64 (string tag, out int64 value);
1293 public bool get_int64_index (string tag, uint index, out int64 value);
1294 public bool get_int_index (string tag, uint index, out int value);
1295 public bool get_long (string tag, out long value);
1296 public bool get_long_index (string tag, uint index, out long value);
1297 public bool get_pointer (string tag, out void* value);
1298 public bool get_pointer_index (string tag, uint index, out void* value);
1299 public bool get_string (string tag, out string value);
1300 public bool get_string_index (string tag, uint index, out string value);
1301 public uint get_tag_size (string tag);
1302 public bool get_uchar (string tag, out uchar value);
1303 public bool get_uchar_index (string tag, uint index, out uchar value);
1304 public bool get_uint (string tag, out uint value);
1305 public bool get_uint64 (string tag, out uint64 value);
1306 public bool get_uint64_index (string tag, uint index, out uint64 value);
1307 public bool get_uint_index (string tag, uint index, out uint value);
1308 public bool get_ulong (string tag, out ulong value);
1309 public bool get_ulong_index (string tag, uint index, out ulong value);
1310 public unowned Gst.Value? get_value_index (string tag, uint index);
1311 public void insert (Gst.TagList from, Gst.TagMergeMode mode);
1312 public bool is_empty ();
1313 public Gst.TagList merge (Gst.TagList list2, Gst.TagMergeMode mode);
1314 public void remove_tag (string tag);
1316 [CCode (cheader_filename = "gst/gst.h")]
1317 public class Task : Gst.Object {
1318 public void* abidata;
1319 public weak GLib.Cond cond;
1321 public weak Gst.TaskFunction func;
1323 public bool running;
1324 public Gst.TaskState state;
1325 public static void cleanup_all ();
1326 public static unowned Gst.Task create (Gst.TaskFunction func, void* data);
1327 public unowned Gst.TaskPool get_pool ();
1328 public Gst.TaskState get_state ();
1329 public bool join ();
1330 public bool pause ();
1331 public void set_lock (void* mutex);
1332 public void set_pool (Gst.TaskPool pool);
1333 public void set_priority (GLib.ThreadPriority priority);
1334 public bool set_state (Gst.TaskState state);
1335 public void set_thread_callbacks (Gst.TaskThreadCallbacks callbacks, GLib.DestroyNotify notify);
1336 public bool start ();
1337 public bool stop ();
1339 [CCode (cheader_filename = "gst/gst.h")]
1340 public class TaskPool : Gst.Object {
1341 public weak GLib.ThreadPool pool;
1342 [CCode (has_construct_function = false)]
1344 public virtual void cleanup ();
1345 public virtual void join (void* id);
1346 public virtual void prepare () throws GLib.Error;
1347 public virtual void* push (Gst.TaskPoolFunction func) throws GLib.Error;
1350 [CCode (cheader_filename = "gst/gst.h")]
1351 public class TaskThreadCallbacks {
1352 public weak GLib.Callback enter_thread;
1353 public weak GLib.Callback leave_thread;
1356 [CCode (free_function = "gst_trace_destroy", cheader_filename = "gst/gst.h")]
1357 public class Trace {
1358 public weak Gst.TraceEntry buf;
1359 public int bufoffset;
1362 public weak string filename;
1363 [CCode (has_construct_function = false)]
1364 public Trace (string filename, int size);
1365 public void flush ();
1366 public static void read_tsc (int64 dst);
1367 public void set_default ();
1368 public void text_flush ();
1371 [CCode (cheader_filename = "gst/gst.h")]
1372 public class TraceEntry {
1374 [CCode (array_length = false)]
1375 public weak char[] message;
1376 public uint32 sequence;
1377 public int64 timestamp;
1380 [CCode (cheader_filename = "gst/gst.h")]
1381 public class TypeFind {
1383 [CCode (cname = "gst_type_find_get_length")]
1384 public uint64 get_length ();
1385 [CCode (cname = "gst_type_find_peek")]
1386 public uchar peek (int64 offset, uint size);
1387 [CCode (cname = "gst_type_find_register")]
1388 public static bool register (Gst.Plugin plugin, string name, uint rank, Gst.TypeFindFunction func, string extensions, Gst.Caps possible_caps, void* data, GLib.DestroyNotify data_notify);
1389 [CCode (cname = "gst_type_find_suggest")]
1390 public void suggest (uint probability, Gst.Caps caps);
1391 [CCode (cname = "gst_type_find_suggest_simple")]
1392 public void suggest_simple (uint probability, string media_type, string fieldname);
1394 [CCode (cheader_filename = "gst/gst.h")]
1395 public class TypeFindFactory : Gst.PluginFeature {
1396 public weak Gst.Caps caps;
1397 public weak string extensions;
1398 public weak Gst.TypeFindFunction function;
1399 public void* user_data;
1400 public weak GLib.DestroyNotify user_data_notify;
1401 [CCode (cname = "gst_type_find_factory_call_function")]
1402 public void call_function (Gst.TypeFind find);
1403 [CCode (cname = "gst_type_find_factory_get_caps")]
1404 public unowned Gst.Caps get_caps ();
1405 [CCode (cname = "gst_type_find_factory_get_extensions")]
1406 public unowned string get_extensions ();
1407 [CCode (cname = "gst_type_find_factory_get_list")]
1408 public static unowned GLib.List get_list ();
1411 [CCode (cheader_filename = "gst/gst.h")]
1412 public class TypeNameData {
1413 public weak string name;
1414 public GLib.Type type;
1417 [CCode (cheader_filename = "gst/gst.h")]
1418 public class ValueTable {
1419 public weak Gst.ValueCompareFunc compare;
1420 public weak Gst.ValueDeserializeFunc deserialize;
1421 public weak Gst.ValueSerializeFunc serialize;
1422 public GLib.Type type;
1424 [CCode (cheader_filename = "gst/gst.h")]
1425 public class XML : Gst.Object {
1427 public weak GLib.List topelements;
1428 [CCode (has_construct_function = false)]
1430 public unowned Gst.Element get_element (string name);
1431 public unowned GLib.List get_topelements ();
1432 public static unowned Gst.Element make_element (void* cur, Gst.Object parent);
1434 public virtual void object_saved (Gst.Object object, void* self);
1435 public bool parse_doc (void* doc, string root);
1436 public bool parse_file (string fname, string root);
1437 public bool parse_memory (uchar[] buffer, uint size, string root);
1438 public static void* write (Gst.Element element);
1439 public static int write_file (Gst.Element element, GLib.FileStream @out);
1440 public virtual signal void object_loaded (Gst.Object object, void* self);
1442 [CCode (cheader_filename = "gst/gst.h")]
1443 public interface ChildProxy : Gst.Object {
1444 public void @get (string first_property_name, ...);
1445 public abstract Gst.Object? get_child_by_index (uint index);
1446 public Gst.Object? get_child_by_name (string name);
1447 public abstract uint get_children_count ();
1448 public void get_property (string name, ref Gst.Value value);
1449 public void get_valist (string first_property_name, void* var_args);
1450 public bool lookup (string name, out Gst.Object? target, out unowned GLib.ParamSpec? pspec);
1451 public void @set (string first_property_name, ...);
1452 public void set_property (string name, Gst.Value value);
1453 public void set_valist (string first_property_name, void* var_args);
1455 public signal void child_added (GLib.Object child);
1457 public signal void child_removed (GLib.Object child);
1459 [CCode (cheader_filename = "gst/gst.h")]
1460 public interface ImplementsInterface : Gst.Element {
1461 public unowned Gst.Element? cast (GLib.Type type);
1462 public bool check (GLib.Type type);
1464 public abstract bool supported (GLib.Type iface_type);
1466 [CCode (cheader_filename = "gst/gst.h")]
1467 public interface Preset {
1468 public abstract bool delete_preset (string name);
1469 public abstract bool get_meta (string name, string tag, string value);
1470 public abstract unowned string get_preset_names ();
1471 public abstract unowned string get_property_names ();
1472 public abstract bool load_preset (string name);
1473 public abstract bool rename_preset (string old_name, string new_name);
1474 public abstract bool save_preset (string name);
1475 public abstract bool set_meta (string name, string tag, string value);
1477 [CCode (cheader_filename = "gst/gst.h")]
1478 public interface TagSetter : Gst.Element {
1479 public void add_tag_valist (Gst.TagMergeMode mode, string tag, void* var_args);
1480 public void add_tag_valist_values (Gst.TagMergeMode mode, string tag, void* var_args);
1481 public void add_tag_value (Gst.TagMergeMode mode, string tag, Gst.Value value);
1482 public void add_tag_values (Gst.TagMergeMode mode, string tag, ...);
1483 public void add_tags (Gst.TagMergeMode mode, string tag, ...);
1484 public unowned Gst.TagList get_tag_list ();
1485 public Gst.TagMergeMode get_tag_merge_mode ();
1486 public void merge_tags (Gst.TagList list, Gst.TagMergeMode mode);
1487 public void reset_tags ();
1488 public void set_tag_merge_mode (Gst.TagMergeMode mode);
1490 [CCode (cheader_filename = "gst/gst.h")]
1491 public interface URIHandler {
1492 public abstract unowned string[] get_protocols ();
1494 public abstract unowned string[] get_protocols_full (GLib.Type type);
1496 public abstract Gst.URIType get_type ();
1498 public abstract Gst.URIType get_type_full (GLib.Type type);
1499 public abstract unowned string get_uri ();
1500 public uint get_uri_type ();
1501 public abstract bool set_uri (string uri);
1503 public signal void new_uri (string uri);
1505 [CCode (type_id = "GST_TYPE_ARRAY", cheader_filename = "gst/gst.h")]
1506 public struct Array {
1508 [CCode (cheader_filename = "gst/gst.h")]
1510 [IntegerType (rank = 0)]
1511 public struct ClockTime : uint64 {
1512 [CCode (cname = "GST_TIME_ARGS")]
1513 public unowned string args ();
1514 [CCode (cname = "GST_CLOCK_TIME_IS_VALID")]
1515 public bool is_valid ();
1517 [CCode (cheader_filename = "gst/gst.h")]
1519 [IntegerType (rank = 0)]
1520 public struct ClockTimeDiff : int64 {
1522 [CCode (type_id = "GST_TYPE_DOUBLE_RANGE", cheader_filename = "gst/gst.h")]
1523 public struct DoubleRange {
1525 [CCode (type_id = "GST_TYPE_ELEMENT_DETAILS", cheader_filename = "gst/gst.h")]
1526 public struct ElementDetails {
1527 public weak string longname;
1528 public weak string klass;
1529 public weak string description;
1530 public weak string author;
1532 [CCode (type_id = "GST_TYPE_FORMAT_DEFINITION", cheader_filename = "gst/gst.h")]
1533 public struct FormatDefinition {
1534 public Gst.Format value;
1535 public weak string nick;
1536 public weak string description;
1537 public GLib.Quark quark;
1539 [CCode (type_id = "GST_TYPE_FRACTION", cheader_filename = "gst/gst.h")]
1540 public struct Fraction {
1542 [CCode (type_id = "GST_TYPE_FRACTION_RANGE", cheader_filename = "gst/gst.h")]
1543 public struct FractionRange {
1545 [CCode (type_id = "GST_TYPE_INDEX_ASSOCIATION", cheader_filename = "gst/gst.h")]
1546 public struct IndexAssociation {
1547 public Gst.Format format;
1550 [CCode (type_id = "GST_TYPE_INT_RANGE", cheader_filename = "gst/gst.h")]
1551 public struct IntRange {
1553 [CCode (type_id = "GST_TYPE_LIST", cheader_filename = "gst/gst.h")]
1554 public struct List {
1556 [CCode (type_id = "GST_TYPE_PLUGIN_DESC", cheader_filename = "gst/gst.h")]
1557 public struct PluginDesc {
1558 public int major_version;
1559 public int minor_version;
1560 public weak string name;
1561 public weak string description;
1562 public weak Gst.PluginInitFunc plugin_init;
1563 public weak string version;
1564 public weak string license;
1565 public weak string source;
1566 public weak string package;
1567 public weak string origin;
1568 public weak void*[] _gst_reserved;
1570 [CCode (type_id = "GST_TYPE_STATIC_CAPS", cheader_filename = "gst/gst.h")]
1571 public struct StaticCaps {
1572 [CCode (cname = "string")]
1573 public weak string str;
1574 public Gst.Caps @get ();
1576 [CCode (type_id = "GST_TYPE_STATIC_PAD_TEMPLATE", cheader_filename = "gst/gst.h")]
1577 public struct StaticPadTemplate {
1578 public weak string name_template;
1579 public Gst.PadDirection direction;
1580 public Gst.PadPresence presence;
1581 public Gst.StaticCaps static_caps;
1582 public Gst.PadTemplate @get ();
1583 public Gst.Caps get_caps ();
1585 [CCode (cname = "GValue", type_id = "G_TYPE_VALUE", cheader_filename = "gst/gst.h")]
1586 public struct Value : GLib.Value {
1587 public void array_append_value (Gst.Value append_value);
1588 public uint array_get_size ();
1589 public static GLib.Type array_get_type ();
1590 public unowned Gst.Value? array_get_value (uint index);
1591 public void array_prepend_value (Gst.Value prepend_value);
1592 public static bool can_compare (Gst.Value value1, Gst.Value value2);
1593 public static bool can_intersect (Gst.Value value1, Gst.Value value2);
1594 public static bool can_subtract (Gst.Value minuend, Gst.Value subtrahend);
1595 public static bool can_union (Gst.Value value1, Gst.Value value2);
1596 public static int compare (Gst.Value value1, Gst.Value value2);
1597 public bool deserialize (string src);
1598 public static bool fraction_multiply (GLib.Value product, GLib.Value factor1, GLib.Value factor2);
1599 public static bool fraction_subtract (GLib.Value dest, GLib.Value minuend, GLib.Value subtrahend);
1600 public unowned Gst.Buffer get_buffer ();
1601 public Gst.Caps get_caps ();
1602 public GLib.Date get_date ();
1603 public double get_double_range_max ();
1604 public double get_double_range_min ();
1605 public uint get_fourcc ();
1606 public int get_fraction_denominator ();
1607 public int get_fraction_numerator ();
1608 public unowned Gst.Value? get_fraction_range_max ();
1609 public unowned Gst.Value? get_fraction_range_min ();
1610 public int get_int_range_max ();
1611 public int get_int_range_min ();
1612 public unowned Gst.Structure get_structure ();
1613 public void init_and_copy (Gst.Value src);
1614 public static bool intersect (Gst.Value dest, Gst.Value value1, Gst.Value value2);
1615 public bool is_fixed ();
1616 public void list_append_value (Gst.Value append_value);
1617 public void list_concat (Gst.Value value1, Gst.Value value2);
1618 public uint list_get_size ();
1619 public static GLib.Type list_get_type ();
1620 public unowned Gst.Value? list_get_value (uint index);
1621 public void list_prepend_value (Gst.Value prepend_value);
1622 [CCode (cname = "GST_MAKE_FOURCC")]
1623 public static uint make_fourcc (char a, char b, char c, char d);
1624 public static void register (Gst.ValueTable table);
1625 public static void register_intersect_func (GLib.Type type1, GLib.Type type2, Gst.ValueIntersectFunc func);
1626 public static void register_subtract_func (GLib.Type minuend_type, GLib.Type subtrahend_type, Gst.ValueSubtractFunc func);
1627 public static void register_union_func (GLib.Type type1, GLib.Type type2, Gst.ValueUnionFunc func);
1628 public string serialize ();
1629 public void set_buffer (Gst.Buffer b);
1630 public void set_caps (Gst.Caps caps);
1631 public void set_date (GLib.Date date);
1632 public void set_double_range (double start, double end);
1633 public void set_fourcc (uint fourcc);
1634 public void set_fraction (int numerator, int denominator);
1635 public void set_fraction_range (Gst.Value start, Gst.Value end);
1636 public void set_fraction_range_full (int numerator_start, int denominator_start, int numerator_end, int denominator_end);
1637 public void set_int_range (int start, int end);
1638 public void set_structure (Gst.Structure structure);
1639 [CCode (cname = "GST_STR_FOURCC")]
1640 public static uint str_fourcc (string str);
1641 public static bool subtract (Gst.Value dest, Gst.Value minuend, Gst.Value subtrahend);
1642 public void take_buffer (Gst.Buffer b);
1643 public static bool union (Gst.Value dest, Gst.Value value1, Gst.Value value2);
1645 [CCode (cprefix = "GST_ACTIVATE_", cheader_filename = "gst/gst.h")]
1646 public enum ActivateMode {
1651 [CCode (cprefix = "GST_ALLOC_TRACE_", cheader_filename = "gst/gst.h")]
1653 public enum AllocTraceFlags {
1657 [CCode (cprefix = "GST_ASSOCIATION_FLAG_", cheader_filename = "gst/gst.h")]
1659 public enum AssocFlags {
1665 [CCode (cprefix = "GST_BIN_FLAG_", cheader_filename = "gst/gst.h")]
1667 public enum BinFlags {
1670 [CCode (cprefix = "GST_BUFFER_COPY_", cheader_filename = "gst/gst.h")]
1672 public enum BufferCopyFlags {
1677 [CCode (cprefix = "GST_BUFFER_FLAG_", cheader_filename = "gst/gst.h")]
1679 public enum BufferFlag {
1691 [CCode (cprefix = "GST_BUFFER_LIST_", cheader_filename = "gst/gst.h")]
1692 public enum BufferListItem {
1697 [CCode (cprefix = "GST_BUFFERING_", cheader_filename = "gst/gst.h")]
1698 public enum BufferingMode {
1704 [CCode (cprefix = "GST_BUS_", cheader_filename = "gst/gst.h")]
1706 public enum BusFlags {
1710 [CCode (cprefix = "GST_BUS_", cheader_filename = "gst/gst.h")]
1711 public enum BusSyncReply {
1716 [CCode (cprefix = "GST_CAPS_FLAGS_", cheader_filename = "gst/gst.h")]
1718 public enum CapsFlags {
1721 [CCode (cprefix = "GST_CLOCK_ENTRY_", cheader_filename = "gst/gst.h")]
1722 public enum ClockEntryType {
1726 [CCode (cprefix = "GST_CLOCK_FLAG_", cheader_filename = "gst/gst.h")]
1728 public enum ClockFlags {
1730 CAN_DO_SINGLE_ASYNC,
1731 CAN_DO_PERIODIC_SYNC,
1732 CAN_DO_PERIODIC_ASYNC,
1737 [CCode (cprefix = "GST_CLOCK_", cheader_filename = "gst/gst.h")]
1738 public enum ClockReturn {
1747 [CCode (cprefix = "GST_CLOCK_TYPE_", cheader_filename = "gst/gst.h")]
1748 public enum ClockType {
1752 [CCode (cprefix = "GST_DEBUG_", cheader_filename = "gst/gst.h")]
1753 public enum DebugColorFlags {
1773 [CCode (cprefix = "GST_DEBUG_GRAPH_SHOW_", cheader_filename = "gst/gst.h")]
1775 public enum DebugGraphDetails {
1782 [CCode (cprefix = "GST_LEVEL_", cheader_filename = "gst/gst.h")]
1783 public enum DebugLevel {
1793 [CCode (cname = "gst_debug_level_get_name")]
1794 public unowned string to_string ();
1796 [CCode (cprefix = "GST_ELEMENT_", cheader_filename = "gst/gst.h")]
1798 public enum ElementFlags {
1804 [CCode (cprefix = "GST_EVENT_", cheader_filename = "gst/gst.h")]
1805 public enum EventType {
1821 CUSTOM_DOWNSTREAM_OOB,
1824 public Gst.EventTypeFlags get_flags ();
1825 public GLib.Quark to_quark ();
1826 public unowned string get_name ();
1827 [CCode (cname = "gst_event_type_get_name")]
1828 public unowned string to_string ();
1830 [CCode (cprefix = "GST_EVENT_TYPE_", cheader_filename = "gst/gst.h")]
1832 public enum EventTypeFlags {
1837 [CCode (cprefix = "GST_FLOW_", cheader_filename = "gst/gst.h")]
1838 public enum FlowReturn {
1849 [CCode (cname = "gst_flow_get_name")]
1850 public unowned string to_string ();
1852 [CCode (cprefix = "GST_FORMAT_", cheader_filename = "gst/gst.h")]
1853 public enum Format {
1860 public Gst.FormatDefinition get_details ();
1861 public GLib.Quark to_quark ();
1862 public unowned string get_name ();
1863 [CCode (cname = "gst_format_get_name")]
1864 public unowned string to_string ();
1865 public const int64 PERCENT_MAX;
1866 public const int64 PERCENT_SCALE;
1868 [CCode (cprefix = "GST_INDEX_", cheader_filename = "gst/gst.h")]
1869 public enum IndexCertainty {
1874 [CCode (cprefix = "GST_INDEX_ENTRY_", cheader_filename = "gst/gst.h")]
1875 public enum IndexEntryType {
1881 [CCode (cprefix = "GST_INDEX_", cheader_filename = "gst/gst.h")]
1883 public enum IndexFlags {
1888 [CCode (cprefix = "GST_INDEX_LOOKUP_", cheader_filename = "gst/gst.h")]
1889 public enum IndexLookupMethod {
1894 [CCode (cprefix = "GST_INDEX_RESOLVER_", cheader_filename = "gst/gst.h")]
1895 public enum IndexResolverMethod {
1900 [CCode (cprefix = "GST_ITERATOR_ITEM_", cheader_filename = "gst/gst.h")]
1901 public enum IteratorItem {
1906 [CCode (cprefix = "GST_ITERATOR_", cheader_filename = "gst/gst.h")]
1907 public enum IteratorResult {
1913 [CCode (cprefix = "GST_LIBRARY_ERROR_", cheader_filename = "gst/gst.h")]
1914 public enum LibraryError {
1923 [CCode (cprefix = "GST_MESSAGE_", cheader_filename = "gst/gst.h")]
1925 public enum MessageType {
1952 public GLib.Quark to_quark ();
1953 public unowned string get_name ();
1954 [CCode (cname = "gst_message_type_get_name")]
1955 public unowned string to_string ();
1957 [CCode (cprefix = "GST_MINI_OBJECT_FLAG_", cheader_filename = "gst/gst.h")]
1959 public enum MiniObjectFlags {
1963 [CCode (cprefix = "GST_OBJECT_", cheader_filename = "gst/gst.h")]
1965 public enum ObjectFlags {
1970 [CCode (cprefix = "GST_PAD_", cheader_filename = "gst/gst.h")]
1971 public enum PadDirection {
1976 [CCode (cprefix = "GST_PAD_", cheader_filename = "gst/gst.h")]
1978 public enum PadFlags {
1986 [CCode (cprefix = "GST_PAD_LINK_", cheader_filename = "gst/gst.h")]
1987 public enum PadLinkReturn {
1996 [CCode (cprefix = "GST_PAD_", cheader_filename = "gst/gst.h")]
1997 public enum PadPresence {
2002 [CCode (cprefix = "GST_PAD_TEMPLATE_", cheader_filename = "gst/gst.h")]
2004 public enum PadTemplateFlags {
2008 [CCode (cprefix = "GST_PARSE_ERROR_", cheader_filename = "gst/gst.h")]
2009 public enum ParseError {
2014 COULD_NOT_SET_PROPERTY,
2018 [CCode (cprefix = "GST_PARSE_FLAG_", cheader_filename = "gst/gst.h")]
2020 public enum ParseFlags {
2024 [CCode (cprefix = "GST_PIPELINE_FLAG_", cheader_filename = "gst/gst.h")]
2026 public enum PipelineFlags {
2030 [CCode (cprefix = "GST_PLUGIN_DEPENDENCY_FLAG_", cheader_filename = "gst/gst.h")]
2032 public enum PluginDependencyFlags {
2035 PATHS_ARE_DEFAULT_ONLY,
2038 [CCode (cprefix = "GST_PLUGIN_ERROR_", cheader_filename = "gst/gst.h")]
2039 public enum PluginError {
2044 [CCode (cprefix = "GST_PLUGIN_FLAG_", cheader_filename = "gst/gst.h")]
2046 public enum PluginFlags {
2050 [CCode (cprefix = "GST_QUERY_", cheader_filename = "gst/gst.h")]
2051 public enum QueryType {
2065 [CCode (cname = "gst_query_type_get_name")]
2066 public unowned string to_string ();
2068 [CCode (cprefix = "GST_RANK_", cheader_filename = "gst/gst.h")]
2075 [CCode (cprefix = "GST_RESOURCE_ERROR_", cheader_filename = "gst/gst.h")]
2076 public enum ResourceError {
2093 [CCode (cprefix = "GST_SEARCH_MODE_", cheader_filename = "gst/gst.h")]
2094 public enum SearchMode {
2099 [CCode (cprefix = "GST_SEEK_FLAG_", cheader_filename = "gst/gst.h")]
2101 public enum SeekFlags {
2109 [CCode (cprefix = "GST_SEEK_TYPE_", cheader_filename = "gst/gst.h")]
2110 public enum SeekType {
2116 [CCode (cprefix = "GST_STATE_", cheader_filename = "gst/gst.h")]
2123 [CCode (cname = "GST_STATE_GET_NEXT")]
2124 public Gst.State get_next (Gst.State pending);
2125 [CCode (cname = "gst_element_state_get_name")]
2126 public unowned string to_string ();
2128 [CCode (cprefix = "GST_STATE_CHANGE_", cheader_filename = "gst/gst.h")]
2129 public enum StateChange {
2136 [CCode (cname = "GST_STATE_TRANSITION")]
2137 public static Gst.StateChange transition (Gst.State cur, Gst.State next);
2138 [CCode (cname = "GST_STATE_TRANSITION_CURRENT")]
2139 public static Gst.State transition_current ();
2140 [CCode (cname = "GST_STATE_TRANSITION_NEXT")]
2141 public static Gst.State transition_next ();
2143 [CCode (cprefix = "GST_STATE_CHANGE_", cheader_filename = "gst/gst.h")]
2144 public enum StateChangeReturn {
2149 [CCode (cname = "gst_element_state_change_return_get_name")]
2150 public unowned string to_string ();
2152 [CCode (cprefix = "GST_STREAM_ERROR_", cheader_filename = "gst/gst.h")]
2153 public enum StreamError {
2169 [CCode (cprefix = "GST_STREAM_STATUS_TYPE_", cheader_filename = "gst/gst.h")]
2170 public enum StreamStatusType {
2179 [CCode (cprefix = "GST_STRUCTURE_CHANGE_TYPE_PAD_", cheader_filename = "gst/gst.h")]
2180 public enum StructureChangeType {
2184 [CCode (cprefix = "GST_TAG_FLAG_", cheader_filename = "gst/gst.h")]
2185 public enum TagFlag {
2192 [CCode (cprefix = "GST_TAG_MERGE_", cheader_filename = "gst/gst.h")]
2193 public enum TagMergeMode {
2203 [CCode (cprefix = "GST_TASK_", cheader_filename = "gst/gst.h")]
2204 public enum TaskState {
2209 [CCode (cprefix = "GST_TYPE_FIND_", cheader_filename = "gst/gst.h")]
2210 public enum TypeFindProbability {
2217 [CCode (cprefix = "GST_URI_", cheader_filename = "gst/gst.h")]
2218 public enum URIType {
2223 [CCode (cprefix = "GST_CORE_ERROR_", cheader_filename = "gst/gst.h")]
2224 public errordomain CoreError {
2241 [CCode (cheader_filename = "gst/gst.h")]
2242 public delegate unowned Gst.Buffer BufferListDoFunction (Gst.Buffer buffer);
2243 [CCode (cheader_filename = "gst/gst.h")]
2244 public delegate Gst.BufferListItem BufferListFunc (out unowned Gst.Buffer buffer, uint group, uint idx);
2245 [CCode (cheader_filename = "gst/gst.h")]
2246 public delegate bool BufferProbeCallback (Gst.Pad pad, Gst.Buffer buffer);
2247 [CCode (cheader_filename = "gst/gst.h")]
2248 public delegate bool BusFunc (Gst.Bus bus, Gst.Message message);
2249 [CCode (cheader_filename = "gst/gst.h")]
2250 public delegate Gst.BusSyncReply BusSyncHandler (Gst.Bus bus, Gst.Message message);
2251 [CCode (cheader_filename = "gst/gst.h")]
2252 public delegate bool ClockCallback (Gst.Clock clock, Gst.ClockTime time, Gst.ClockID id);
2253 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2254 public delegate void* CopyFunction (void* object);
2255 [CCode (cheader_filename = "gst/gst.h")]
2256 public delegate bool DataProbeCallback (Gst.Pad pad, Gst.MiniObject data);
2257 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2258 public delegate void DebugFuncPtr ();
2259 [CCode (cheader_filename = "gst/gst.h")]
2260 public delegate bool EventProbeCallback (Gst.Pad pad, Gst.Event event);
2261 [CCode (cheader_filename = "gst/gst.h")]
2262 public delegate bool FilterFunc (void* obj);
2263 [CCode (cheader_filename = "gst/gst.h")]
2264 public delegate bool IndexFilter (Gst.Index index, Gst.IndexEntry entry);
2265 [CCode (cheader_filename = "gst/gst.h")]
2266 public delegate bool IndexResolver (Gst.Index index, Gst.Object writer, string writer_string);
2267 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2268 public delegate void IteratorDisposeFunction (void* owner);
2269 [CCode (cheader_filename = "gst/gst.h")]
2270 public delegate bool IteratorFoldFunction (void* item, ref Gst.Value ret);
2271 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2272 public delegate void IteratorFreeFunction (Gst.Iterator it);
2273 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2274 public delegate Gst.IteratorItem IteratorItemFunction (Gst.Iterator it, void* item);
2275 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2276 public delegate Gst.IteratorResult IteratorNextFunction (Gst.Iterator it, out void* result);
2277 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2278 public delegate void IteratorResyncFunction (Gst.Iterator it);
2279 [CCode (cheader_filename = "gst/gst.h")]
2280 public delegate void LogFunction (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, Gst.DebugMessage message);
2281 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2282 public delegate unowned Gst.MiniObject MiniObjectCopyFunction (Gst.MiniObject obj);
2283 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2284 public delegate void MiniObjectFinalizeFunction (Gst.MiniObject obj);
2285 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2286 public delegate bool PadAcceptCapsFunction (Gst.Pad pad, Gst.Caps caps);
2287 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2288 public delegate bool PadActivateFunction (Gst.Pad pad);
2289 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2290 public delegate bool PadActivateModeFunction (Gst.Pad pad, bool active);
2291 [CCode (cheader_filename = "gst/gst.h")]
2292 public delegate void PadBlockCallback (Gst.Pad pad, bool blocked);
2293 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2294 public delegate Gst.FlowReturn PadBufferAllocFunction (Gst.Pad pad, uint64 offset, uint size, Gst.Caps caps, out Gst.Buffer buf);
2295 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2296 public delegate Gst.FlowReturn PadChainFunction (Gst.Pad pad, owned Gst.Buffer buffer);
2297 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2298 public delegate Gst.FlowReturn PadChainListFunction (Gst.Pad pad, Gst.BufferList list);
2299 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2300 public delegate bool PadCheckGetRangeFunction (Gst.Pad pad);
2301 [CCode (cheader_filename = "gst/gst.h")]
2302 public delegate bool PadDispatcherFunction (Gst.Pad pad);
2303 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2304 public delegate bool PadEventFunction (Gst.Pad pad, owned Gst.Event event);
2305 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2306 public delegate void PadFixateCapsFunction (Gst.Pad pad, Gst.Caps caps);
2307 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2308 public delegate unowned Gst.Caps PadGetCapsFunction (Gst.Pad pad);
2309 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2310 public delegate Gst.FlowReturn PadGetRangeFunction (Gst.Pad pad, uint64 offset, uint length, out Gst.Buffer buffer);
2311 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2312 public delegate unowned GLib.List PadIntLinkFunction (Gst.Pad pad);
2313 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2314 public delegate unowned Gst.Iterator PadIterIntLinkFunction (Gst.Pad pad);
2315 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2316 public delegate Gst.PadLinkReturn PadLinkFunction (Gst.Pad pad, Gst.Pad peer);
2317 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2318 public delegate bool PadQueryFunction (Gst.Pad pad, Gst.Query query);
2319 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2320 public delegate Gst.QueryType PadQueryTypeFunction (Gst.Pad pad);
2321 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2322 public delegate bool PadSetCapsFunction (Gst.Pad pad, Gst.Caps caps);
2323 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2324 public delegate void PadUnlinkFunction (Gst.Pad pad);
2325 [CCode (cheader_filename = "gst/gst.h")]
2326 public delegate bool PluginFeatureFilter (Gst.PluginFeature feature);
2327 [CCode (cheader_filename = "gst/gst.h")]
2328 public delegate bool PluginFilter (Gst.Plugin plugin);
2329 [CCode (cheader_filename = "gst/gst.h")]
2330 public delegate bool PluginInitFullFunc (Gst.Plugin plugin);
2331 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2332 public delegate bool PluginInitFunc (Gst.Plugin plugin);
2333 [CCode (cheader_filename = "gst/gst.h")]
2334 public delegate bool StructureForeachFunc (GLib.Quark field_id, Gst.Value value);
2335 [CCode (cheader_filename = "gst/gst.h")]
2336 public delegate bool StructureMapFunc (GLib.Quark field_id, Gst.Value value);
2337 [CCode (cheader_filename = "gst/gst.h")]
2338 public delegate void TagForeachFunc (Gst.TagList list, string tag);
2339 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2340 public delegate void TagMergeFunc (Gst.Value dest, Gst.Value src);
2341 [CCode (cheader_filename = "gst/gst.h")]
2342 public delegate void TaskFunction ();
2343 [CCode (cheader_filename = "gst/gst.h")]
2344 public delegate void TaskPoolFunction ();
2345 [CCode (cheader_filename = "gst/gst.h")]
2346 public delegate void TypeFindFunction (Gst.TypeFind find);
2347 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2348 public delegate int ValueCompareFunc (Gst.Value value1, Gst.Value value2);
2349 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2350 public delegate bool ValueDeserializeFunc (Gst.Value dest, string s);
2351 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2352 public delegate bool ValueIntersectFunc (Gst.Value dest, Gst.Value value1, Gst.Value value2);
2353 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2354 public delegate unowned string ValueSerializeFunc (Gst.Value value1);
2355 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2356 public delegate bool ValueSubtractFunc (Gst.Value dest, Gst.Value minuend, Gst.Value subtrahend);
2357 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2358 public delegate bool ValueUnionFunc (Gst.Value dest, Gst.Value value1, Gst.Value value2);
2359 [CCode (cheader_filename = "gst/gst.h")]
2360 public const int BUFFER_COPY_ALL;
2361 [CCode (cheader_filename = "gst/gst.h")]
2362 public const int BUFFER_OFFSET_NONE;
2363 [CCode (cheader_filename = "gst/gst.h")]
2364 public const string BUFFER_TRACE_NAME;
2365 [CCode (cheader_filename = "gst/gst.h")]
2366 public const string CLOCK_ENTRY_TRACE_NAME;
2367 [CCode (cheader_filename = "gst/gst.h")]
2368 public const int CLOCK_TIME_NONE;
2369 [CCode (cheader_filename = "gst/gst.h")]
2370 public const int DEBUG_BG_MASK;
2371 [CCode (cheader_filename = "gst/gst.h")]
2372 public const int DEBUG_FG_MASK;
2373 [CCode (cheader_filename = "gst/gst.h")]
2374 public const int DEBUG_FORMAT_MASK;
2375 [CCode (cheader_filename = "gst/gst.h")]
2376 public const string EVENT_TRACE_NAME;
2377 [CCode (cheader_filename = "gst/gst.h")]
2378 public const int EVENT_TYPE_BOTH;
2379 [CCode (cheader_filename = "gst/gst.h")]
2380 public const int EVENT_TYPE_SHIFT;
2381 [CCode (cheader_filename = "gst/gst.h")]
2382 public const string FOURCC_FORMAT;
2383 [CCode (cheader_filename = "gst/gst.h")]
2384 public const string LICENSE_UNKNOWN;
2385 [CCode (cheader_filename = "gst/gst.h")]
2386 public const string MESSAGE_TRACE_NAME;
2387 [CCode (cheader_filename = "gst/gst.h")]
2388 public const int MSECOND;
2389 [CCode (cheader_filename = "gst/gst.h")]
2390 public const int NSECOND;
2391 [CCode (cheader_filename = "gst/gst.h")]
2392 public const int PARAM_CONTROLLABLE;
2393 [CCode (cheader_filename = "gst/gst.h")]
2394 public const int PARAM_MUTABLE_PAUSED;
2395 [CCode (cheader_filename = "gst/gst.h")]
2396 public const int PARAM_MUTABLE_PLAYING;
2397 [CCode (cheader_filename = "gst/gst.h")]
2398 public const int PARAM_MUTABLE_READY;
2399 [CCode (cheader_filename = "gst/gst.h")]
2400 public const int PARAM_USER_SHIFT;
2401 [CCode (cheader_filename = "gst/gst.h")]
2402 public const int SECOND;
2403 [CCode (cheader_filename = "gst/gst.h")]
2404 public const string TAG_ALBUM;
2405 [CCode (cheader_filename = "gst/gst.h")]
2406 public const string TAG_ALBUM_ARTIST;
2407 [CCode (cheader_filename = "gst/gst.h")]
2408 public const string TAG_ALBUM_ARTIST_SORTNAME;
2409 [CCode (cheader_filename = "gst/gst.h")]
2410 public const string TAG_ALBUM_GAIN;
2411 [CCode (cheader_filename = "gst/gst.h")]
2412 public const string TAG_ALBUM_PEAK;
2413 [CCode (cheader_filename = "gst/gst.h")]
2414 public const string TAG_ALBUM_SORTNAME;
2415 [CCode (cheader_filename = "gst/gst.h")]
2416 public const string TAG_ALBUM_VOLUME_COUNT;
2417 [CCode (cheader_filename = "gst/gst.h")]
2418 public const string TAG_ALBUM_VOLUME_NUMBER;
2419 [CCode (cheader_filename = "gst/gst.h")]
2420 public const string TAG_ARTIST;
2421 [CCode (cheader_filename = "gst/gst.h")]
2422 public const string TAG_ARTIST_SORTNAME;
2423 [CCode (cheader_filename = "gst/gst.h")]
2424 public const string TAG_ATTACHMENT;
2425 [CCode (cheader_filename = "gst/gst.h")]
2426 public const string TAG_AUDIO_CODEC;
2427 [CCode (cheader_filename = "gst/gst.h")]
2428 public const string TAG_BEATS_PER_MINUTE;
2429 [CCode (cheader_filename = "gst/gst.h")]
2430 public const string TAG_BITRATE;
2431 [CCode (cheader_filename = "gst/gst.h")]
2432 public const string TAG_CODEC;
2433 [CCode (cheader_filename = "gst/gst.h")]
2434 public const string TAG_COMMENT;
2435 [CCode (cheader_filename = "gst/gst.h")]
2436 public const string TAG_COMPOSER;
2437 [CCode (cheader_filename = "gst/gst.h")]
2438 public const string TAG_COMPOSER_SORTNAME;
2439 [CCode (cheader_filename = "gst/gst.h")]
2440 public const string TAG_CONTACT;
2441 [CCode (cheader_filename = "gst/gst.h")]
2442 public const string TAG_CONTAINER_FORMAT;
2443 [CCode (cheader_filename = "gst/gst.h")]
2444 public const string TAG_COPYRIGHT;
2445 [CCode (cheader_filename = "gst/gst.h")]
2446 public const string TAG_COPYRIGHT_URI;
2447 [CCode (cheader_filename = "gst/gst.h")]
2448 public const string TAG_DATE;
2449 [CCode (cheader_filename = "gst/gst.h")]
2450 public const string TAG_DESCRIPTION;
2451 [CCode (cheader_filename = "gst/gst.h")]
2452 public const string TAG_DURATION;
2453 [CCode (cheader_filename = "gst/gst.h")]
2454 public const string TAG_ENCODER;
2455 [CCode (cheader_filename = "gst/gst.h")]
2456 public const string TAG_ENCODER_VERSION;
2457 [CCode (cheader_filename = "gst/gst.h")]
2458 public const string TAG_EXTENDED_COMMENT;
2459 [CCode (cheader_filename = "gst/gst.h")]
2460 public const string TAG_GENRE;
2461 [CCode (cheader_filename = "gst/gst.h")]
2462 public const string TAG_GEO_LOCATION_ELEVATION;
2463 [CCode (cheader_filename = "gst/gst.h")]
2464 public const string TAG_GEO_LOCATION_LATITUDE;
2465 [CCode (cheader_filename = "gst/gst.h")]
2466 public const string TAG_GEO_LOCATION_LONGITUDE;
2467 [CCode (cheader_filename = "gst/gst.h")]
2468 public const string TAG_GEO_LOCATION_NAME;
2469 [CCode (cheader_filename = "gst/gst.h")]
2470 public const string TAG_GROUPING;
2471 [CCode (cheader_filename = "gst/gst.h")]
2472 public const string TAG_HOMEPAGE;
2473 [CCode (cheader_filename = "gst/gst.h")]
2474 public const string TAG_IMAGE;
2475 [CCode (cheader_filename = "gst/gst.h")]
2476 public const string TAG_ISRC;
2477 [CCode (cheader_filename = "gst/gst.h")]
2478 public const string TAG_KEYWORDS;
2479 [CCode (cheader_filename = "gst/gst.h")]
2480 public const string TAG_LANGUAGE_CODE;
2481 [CCode (cheader_filename = "gst/gst.h")]
2482 public const string TAG_LICENSE;
2483 [CCode (cheader_filename = "gst/gst.h")]
2484 public const string TAG_LICENSE_URI;
2485 [CCode (cheader_filename = "gst/gst.h")]
2486 public const string TAG_LOCATION;
2487 [CCode (cheader_filename = "gst/gst.h")]
2488 public const string TAG_LYRICS;
2489 [CCode (cheader_filename = "gst/gst.h")]
2490 public const string TAG_MAXIMUM_BITRATE;
2491 [CCode (cheader_filename = "gst/gst.h")]
2492 public const string TAG_MINIMUM_BITRATE;
2493 [CCode (cheader_filename = "gst/gst.h")]
2494 public const string TAG_NOMINAL_BITRATE;
2495 [CCode (cheader_filename = "gst/gst.h")]
2496 public const string TAG_ORGANIZATION;
2497 [CCode (cheader_filename = "gst/gst.h")]
2498 public const string TAG_PERFORMER;
2499 [CCode (cheader_filename = "gst/gst.h")]
2500 public const string TAG_PREVIEW_IMAGE;
2501 [CCode (cheader_filename = "gst/gst.h")]
2502 public const string TAG_REFERENCE_LEVEL;
2503 [CCode (cheader_filename = "gst/gst.h")]
2504 public const string TAG_SERIAL;
2505 [CCode (cheader_filename = "gst/gst.h")]
2506 public const string TAG_SHOW_EPISODE_NUMBER;
2507 [CCode (cheader_filename = "gst/gst.h")]
2508 public const string TAG_SHOW_NAME;
2509 [CCode (cheader_filename = "gst/gst.h")]
2510 public const string TAG_SHOW_SEASON_NUMBER;
2511 [CCode (cheader_filename = "gst/gst.h")]
2512 public const string TAG_SHOW_SORTNAME;
2513 [CCode (cheader_filename = "gst/gst.h")]
2514 public const string TAG_SUBTITLE_CODEC;
2515 [CCode (cheader_filename = "gst/gst.h")]
2516 public const string TAG_TITLE;
2517 [CCode (cheader_filename = "gst/gst.h")]
2518 public const string TAG_TITLE_SORTNAME;
2519 [CCode (cheader_filename = "gst/gst.h")]
2520 public const string TAG_TRACK_COUNT;
2521 [CCode (cheader_filename = "gst/gst.h")]
2522 public const string TAG_TRACK_GAIN;
2523 [CCode (cheader_filename = "gst/gst.h")]
2524 public const string TAG_TRACK_NUMBER;
2525 [CCode (cheader_filename = "gst/gst.h")]
2526 public const string TAG_TRACK_PEAK;
2527 [CCode (cheader_filename = "gst/gst.h")]
2528 public const string TAG_VERSION;
2529 [CCode (cheader_filename = "gst/gst.h")]
2530 public const string TAG_VIDEO_CODEC;
2531 [CCode (cheader_filename = "gst/gst.h")]
2532 public const string TIME_FORMAT;
2533 [CCode (cheader_filename = "gst/gst.h")]
2534 public const int USECOND;
2535 [CCode (cheader_filename = "gst/gst.h")]
2536 public const int VALUE_EQUAL;
2537 [CCode (cheader_filename = "gst/gst.h")]
2538 public const int VALUE_GREATER_THAN;
2539 [CCode (cheader_filename = "gst/gst.h")]
2540 public const int VALUE_LESS_THAN;
2541 [CCode (cheader_filename = "gst/gst.h")]
2542 public const int VALUE_UNORDERED;
2543 [CCode (cheader_filename = "gst/gst.h")]
2544 public const int VERSION_MAJOR;
2545 [CCode (cheader_filename = "gst/gst.h")]
2546 public const int VERSION_MICRO;
2547 [CCode (cheader_filename = "gst/gst.h")]
2548 public const int VERSION_MINOR;
2549 [CCode (cheader_filename = "gst/gst.h")]
2550 public const int VERSION_NANO;
2551 [CCode (cheader_filename = "gst/gst.h")]
2552 public static void atomic_int_set (int atomic_int, int value);
2553 [CCode (cheader_filename = "gst/gst.h")]
2554 public static GLib.Quark core_error_quark ();
2555 [CCode (cheader_filename = "gst/gst.h")]
2556 public static void debug_add_log_function (Gst.LogFunction func, void* data);
2557 [CCode (cname = "GST_DEBUG_BIN_TO_DOT_FILE", cheader_filename = "gst/gst.h")]
2558 public static void debug_bin_to_dot_file (Gst.Bin bin, Gst.DebugGraphDetails details, string prefix);
2559 [CCode (cname = "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS", cheader_filename = "gst/gst.h")]
2560 public static void debug_bin_to_dot_file_with_ts (Gst.Bin bin, Gst.DebugGraphDetails details, string prefix);
2561 [CCode (cheader_filename = "gst/gst.h")]
2562 public static unowned string debug_construct_term_color (uint colorinfo);
2563 [CCode (cheader_filename = "gst/gst.h")]
2564 public static int debug_construct_win_color (uint colorinfo);
2565 [CCode (cheader_filename = "gst/gst.h")]
2566 public static GLib.SList<Gst.DebugCategory> debug_get_all_categories ();
2567 [CCode (cheader_filename = "gst/gst.h")]
2568 public static Gst.DebugLevel debug_get_default_threshold ();
2569 [CCode (cheader_filename = "gst/gst.h")]
2570 public static bool debug_is_active ();
2571 [CCode (cheader_filename = "gst/gst.h")]
2572 public static bool debug_is_colored ();
2573 [CCode (cheader_filename = "gst/gst.h")]
2574 public static void debug_log (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, string format);
2575 [CCode (cheader_filename = "gst/gst.h")]
2576 public static void debug_log_default (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, Gst.DebugMessage message, void* unused);
2577 [CCode (cheader_filename = "gst/gst.h")]
2578 public static void debug_log_valist (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, string format, void* args);
2579 [CCode (cheader_filename = "gst/gst.h")]
2580 public static void debug_print_stack_trace ();
2581 [CCode (cheader_filename = "gst/gst.h")]
2582 public static uint debug_remove_log_function (Gst.LogFunction func);
2583 [CCode (cheader_filename = "gst/gst.h")]
2584 public static uint debug_remove_log_function_by_data (void* data);
2585 [CCode (cheader_filename = "gst/gst.h")]
2586 public static void debug_set_active (bool active);
2587 [CCode (cheader_filename = "gst/gst.h")]
2588 public static void debug_set_colored (bool colored);
2589 [CCode (cheader_filename = "gst/gst.h")]
2590 public static void debug_set_default_threshold (Gst.DebugLevel level);
2591 [CCode (cheader_filename = "gst/gst.h")]
2592 public static void debug_set_threshold_for_name (string name, Gst.DebugLevel level);
2593 [CCode (cheader_filename = "gst/gst.h")]
2594 public static void debug_unset_threshold_for_name (string name);
2595 [CCode (cheader_filename = "gst/gst.h")]
2596 public static bool default_registry_check_feature_version (string feature_name, uint min_major, uint min_minor, uint min_micro);
2597 [CCode (cheader_filename = "gst/gst.h")]
2598 public static void deinit ();
2599 [CCode (cheader_filename = "gst/gst.h")]
2600 public static GLib.Type double_range_get_type ();
2601 [CCode (cheader_filename = "gst/gst.h")]
2602 public static string error_get_message (GLib.Quark domain, int code);
2603 [CCode (cheader_filename = "gst/gst.h")]
2604 public static GLib.List filter_run (GLib.List list, Gst.FilterFunc func, bool first);
2605 [CCode (cheader_filename = "gst/gst.h")]
2606 public static GLib.Quark flow_to_quark (Gst.FlowReturn ret);
2607 [CCode (cheader_filename = "gst/gst.h")]
2608 public static Gst.Format format_get_by_nick (string nick);
2609 [CCode (cheader_filename = "gst/gst.h")]
2610 public static Gst.FormatDefinition format_get_details (Gst.Format format);
2611 [CCode (cheader_filename = "gst/gst.h")]
2612 public static Gst.Iterator<Gst.FormatDefinition> format_iterate_definitions ();
2613 [CCode (cheader_filename = "gst/gst.h")]
2614 public static Gst.Format format_register (string nick, string description);
2615 [CCode (cheader_filename = "gst/gst.h")]
2616 public static GLib.Quark format_to_quark (Gst.Format format);
2617 [CCode (cheader_filename = "gst/gst.h")]
2618 public static bool formats_contains (Gst.Format formats, Gst.Format format);
2619 [CCode (cheader_filename = "gst/gst.h")]
2620 public static GLib.Type fourcc_get_type ();
2621 [CCode (cheader_filename = "gst/gst.h")]
2622 public static GLib.Type fraction_get_type ();
2623 [CCode (cheader_filename = "gst/gst.h")]
2624 public static GLib.Type fraction_range_get_type ();
2625 [CCode (cheader_filename = "gst/gst.h")]
2626 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] args);
2627 [CCode (cheader_filename = "gst/gst.h")]
2628 public static bool init_check (int argc, string argv) throws GLib.Error;
2629 [CCode (cheader_filename = "gst/gst.h")]
2630 public static GLib.OptionGroup init_get_option_group ();
2631 [CCode (cheader_filename = "gst/gst.h")]
2632 public static GLib.Type int_range_get_type ();
2633 [CCode (cheader_filename = "gst/gst.h")]
2634 public static bool is_tag_list (void* p);
2635 [CCode (cheader_filename = "gst/gst.h")]
2636 public static GLib.Quark library_error_quark ();
2637 [CCode (cheader_filename = "gst/gst.h")]
2638 public static void marshal_BOOLEAN__POINTER (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2639 [CCode (cheader_filename = "gst/gst.h")]
2640 public static void marshal_BOOLEAN__VOID (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2641 [CCode (cheader_filename = "gst/gst.h")]
2642 public static void marshal_BOXED__BOXED (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2643 [CCode (cheader_filename = "gst/gst.h")]
2644 public static void marshal_POINTER__POINTER (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2645 [CCode (cheader_filename = "gst/gst.h")]
2646 public static void marshal_VOID__BOXED_OBJECT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2647 [CCode (cheader_filename = "gst/gst.h")]
2648 public static void marshal_VOID__INT64 (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2649 [CCode (cheader_filename = "gst/gst.h")]
2650 public static void marshal_VOID__INT_INT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2651 [CCode (cheader_filename = "gst/gst.h")]
2652 public static void marshal_VOID__OBJECT_BOXED (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2653 [CCode (cheader_filename = "gst/gst.h")]
2654 public static void marshal_VOID__OBJECT_BOXED_STRING (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2655 [CCode (cheader_filename = "gst/gst.h")]
2656 public static void marshal_VOID__OBJECT_OBJECT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2657 [CCode (cheader_filename = "gst/gst.h")]
2658 public static void marshal_VOID__OBJECT_OBJECT_STRING (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2659 [CCode (cheader_filename = "gst/gst.h")]
2660 public static void marshal_VOID__OBJECT_PARAM (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2661 [CCode (cheader_filename = "gst/gst.h")]
2662 public static void marshal_VOID__OBJECT_POINTER (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2663 [CCode (cheader_filename = "gst/gst.h")]
2664 public static void marshal_VOID__OBJECT_STRING (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2665 [CCode (cheader_filename = "gst/gst.h")]
2666 public static void marshal_VOID__POINTER_OBJECT (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2667 [CCode (cheader_filename = "gst/gst.h")]
2668 public static void marshal_VOID__UINT_BOXED (GLib.Closure closure, Gst.Value return_value, uint n_param_values, Gst.Value param_values, void* invocation_hint, void* marshal_data);
2669 [CCode (cheader_filename = "gst/gst.h")]
2670 public static unowned GLib.ParamSpec param_spec_fraction (string name, string nick, string blurb, int min_num, int min_denom, int max_num, int max_denom, int default_num, int default_denom, GLib.ParamFlags flags);
2671 [CCode (cheader_filename = "gst/gst.h")]
2672 public static unowned GLib.ParamSpec param_spec_mini_object (string name, string nick, string blurb, GLib.Type object_type, GLib.ParamFlags flags);
2673 [CCode (cheader_filename = "gst/gst.h")]
2674 public static Gst.Element? parse_bin_from_description (string bin_description, bool ghost_unlinked_pads) throws GLib.Error;
2675 [CCode (cheader_filename = "gst/gst.h")]
2676 public static unowned Gst.Element parse_bin_from_description_full (string bin_description, bool ghost_unlinked_pads, Gst.ParseContext context, Gst.ParseFlags flags) throws GLib.Error;
2677 [CCode (cheader_filename = "gst/gst.h")]
2678 public static GLib.Quark parse_error_quark ();
2679 [CCode (cheader_filename = "gst/gst.h")]
2680 public static Gst.Element? parse_launch (string pipeline_description) throws GLib.Error;
2681 [CCode (cheader_filename = "gst/gst.h")]
2682 public static unowned Gst.Element parse_launch_full (string pipeline_description, Gst.ParseContext context, Gst.ParseFlags flags) throws GLib.Error;
2683 [CCode (cheader_filename = "gst/gst.h")]
2684 public static Gst.Element? parse_launchv ([CCode (array_length = false)] string[] argv) throws GLib.Error;
2685 [CCode (cheader_filename = "gst/gst.h")]
2686 public static unowned Gst.Element parse_launchv_full (string argv, Gst.ParseContext context, Gst.ParseFlags flags) throws GLib.Error;
2687 [CCode (cheader_filename = "gst/gst.h")]
2688 public static void print_element_args (GLib.StringBuilder buf, int indent, Gst.Element element);
2689 [CCode (cheader_filename = "gst/gst.h")]
2690 public static void print_pad_caps (GLib.StringBuilder buf, int indent, Gst.Pad pad);
2691 [CCode (cheader_filename = "gst/gst.h")]
2692 public static GLib.Quark resource_error_quark ();
2693 [CCode (cheader_filename = "gst/gst.h")]
2694 public static bool segtrap_is_enabled ();
2695 [CCode (cheader_filename = "gst/gst.h")]
2696 public static void segtrap_set_enabled (bool enabled);
2697 [CCode (cheader_filename = "gst/gst.h")]
2698 public static GLib.Quark stream_error_quark ();
2699 [CCode (cheader_filename = "gst/gst.h")]
2700 public static bool tag_exists (string tag);
2701 [CCode (cheader_filename = "gst/gst.h")]
2702 public static unowned string tag_get_description (string tag);
2703 [CCode (cheader_filename = "gst/gst.h")]
2704 public static Gst.TagFlag tag_get_flag (string tag);
2705 [CCode (cheader_filename = "gst/gst.h")]
2706 public static unowned string tag_get_nick (string tag);
2707 [CCode (cheader_filename = "gst/gst.h")]
2708 public static GLib.Type tag_get_type (string tag);
2709 [CCode (cheader_filename = "gst/gst.h")]
2710 public static bool tag_is_fixed (string tag);
2711 [CCode (cheader_filename = "gst/gst.h")]
2712 public static void tag_merge_strings_with_comma (Gst.Value dest, Gst.Value src);
2713 [CCode (cheader_filename = "gst/gst.h")]
2714 public static void tag_merge_use_first (Gst.Value dest, Gst.Value src);
2715 [CCode (cheader_filename = "gst/gst.h")]
2716 public static void tag_register (string name, Gst.TagFlag flag, GLib.Type type, string nick, string blurb, Gst.TagMergeFunc func);
2717 [CCode (cheader_filename = "gst/gst.h")]
2718 public static bool update_registry ();
2719 [CCode (cheader_filename = "gst/gst.h")]
2720 public static unowned string uri_construct (string protocol, string location);
2721 [CCode (cheader_filename = "gst/gst.h")]
2722 public static unowned string uri_get_location (string uri);
2723 [CCode (cheader_filename = "gst/gst.h")]
2724 public static unowned string uri_get_protocol (string uri);
2725 [CCode (cheader_filename = "gst/gst.h")]
2726 public static bool uri_has_protocol (string uri, string protocol);
2727 [CCode (cheader_filename = "gst/gst.h")]
2728 public static bool uri_is_valid (string uri);
2729 [CCode (cheader_filename = "gst/gst.h")]
2730 public static bool uri_protocol_is_supported (Gst.URIType type, string protocol);
2731 [CCode (cheader_filename = "gst/gst.h")]
2732 public static bool uri_protocol_is_valid (string protocol);
2733 [CCode (cheader_filename = "gst/gst.h")]
2734 public static void* util_array_binary_search (void* array, uint num_elements, size_t element_size, GLib.CompareDataFunc search_func, Gst.SearchMode mode, void* search_data);
2735 [CCode (cheader_filename = "gst/gst.h")]
2736 public static void util_double_to_fraction (double src, int dest_n, int dest_d);
2737 [CCode (cheader_filename = "gst/gst.h")]
2738 public static void util_dump_mem (uchar[] mem, uint size);
2739 [CCode (cheader_filename = "gst/gst.h")]
2740 public static bool util_fraction_add (int a_n, int a_d, int b_n, int b_d, int res_n, int res_d);
2741 [CCode (cheader_filename = "gst/gst.h")]
2742 public static bool util_fraction_multiply (int a_n, int a_d, int b_n, int b_d, int res_n, int res_d);
2743 [CCode (cheader_filename = "gst/gst.h")]
2744 public static void util_fraction_to_double (int src_n, int src_d, double dest);
2745 [CCode (cheader_filename = "gst/gst.h")]
2746 public static uint64 util_gdouble_to_guint64 (double value);
2747 [CCode (cheader_filename = "gst/gst.h")]
2748 public static Gst.ClockTime util_get_timestamp ();
2749 [CCode (cheader_filename = "gst/gst.h")]
2750 public static int util_greatest_common_divisor (int a, int b);
2751 [CCode (cheader_filename = "gst/gst.h")]
2752 public static double util_guint64_to_gdouble (uint64 value);
2753 [CCode (cheader_filename = "gst/gst.h")]
2754 public static int32 util_seqnum_compare (uint32 s1, uint32 s2);
2755 [CCode (cheader_filename = "gst/gst.h")]
2756 public static uint32 util_seqnum_next ();
2757 [CCode (cheader_filename = "gst/gst.h")]
2758 public static void util_set_object_arg (GLib.Object object, string name, string value);
2759 [CCode (cheader_filename = "gst/gst.h")]
2760 public static void util_set_value_from_string (Gst.Value value, string value_str);
2761 [CCode (cheader_filename = "gst/gst.h")]
2762 public static uint64 util_uint64_scale (uint64 val, uint64 num, uint64 denom);
2763 [CCode (cheader_filename = "gst/gst.h")]
2764 public static uint64 util_uint64_scale_ceil (uint64 val, uint64 num, uint64 denom);
2765 [CCode (cheader_filename = "gst/gst.h")]
2766 public static uint64 util_uint64_scale_int (uint64 val, int num, int denom);
2767 [CCode (cheader_filename = "gst/gst.h")]
2768 public static uint64 util_uint64_scale_int_ceil (uint64 val, int num, int denom);
2769 [CCode (cheader_filename = "gst/gst.h")]
2770 public static uint64 util_uint64_scale_int_round (uint64 val, int num, int denom);
2771 [CCode (cheader_filename = "gst/gst.h")]
2772 public static uint64 util_uint64_scale_round (uint64 val, uint64 num, uint64 denom);
2773 [CCode (cheader_filename = "gst/gst.h")]
2774 public static unowned Gst.MiniObject value_dup_mini_object (Gst.Value value);
2775 [CCode (cheader_filename = "gst/gst.h")]
2776 public static void version (out uint major, out uint minor, out uint micro, out uint nano);
2777 [CCode (cheader_filename = "gst/gst.h")]
2778 public static string version_string ();