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