1 /* gstreamer-0.10.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Gst", gir_namespace = "Gst", gir_version = "1.0", lower_case_cprefix = "gst_")]
5 [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", ref_function = "gst_atomic_queue_ref", ref_function_void = true, unref_function = "gst_atomic_queue_unref")]
24 public class AtomicQueue {
25 [CCode (has_construct_function = false)]
26 public AtomicQueue (uint initial_size);
27 public uint length ();
30 public void push (void* data);
32 [CCode (cheader_filename = "gst/gst.h")]
33 public class Bin : Gst.Element, Gst.ChildProxy {
34 public weak Gst.Bus child_bus;
35 public weak GLib.List<Gst.Element> children;
36 public uint32 children_cookie;
37 public bool clock_dirty;
38 public weak Gst.Element clock_provider;
39 public weak GLib.List<Gst.Message> messages;
40 public int numchildren;
42 public weak Gst.Clock provided_clock;
43 public bool state_dirty;
44 [CCode (has_construct_function = false, type = "GstElement*")]
45 public Bin (string? name);
46 public bool add (Gst.Element element);
48 public virtual bool add_element (Gst.Element element);
49 public void add_many (params Gst.Element[] elements);
50 [Deprecated (replacement = "Gst.Bin.find_unlinked_pad")]
51 public Gst.Pad? find_unconnected_pad (Gst.PadDirection direction);
52 public Gst.Pad? find_unlinked_pad (Gst.PadDirection direction);
53 public Gst.Element? get_by_interface (GLib.Type iface);
54 public Gst.Element? get_by_name (string name);
55 public Gst.Element? get_by_name_recurse_up (string name);
57 public virtual void handle_message (Gst.Message message);
58 public Gst.Iterator<Gst.Element> iterate_all_by_interface (GLib.Type iface);
59 public Gst.Iterator<Gst.Element> iterate_elements ();
60 public Gst.Iterator<Gst.Element> iterate_recurse ();
61 public Gst.Iterator<Gst.Element> iterate_sinks ();
62 public Gst.Iterator<Gst.Element> iterate_sorted ();
63 public Gst.Iterator<Gst.Element> iterate_sources ();
64 public bool recalculate_latency ();
65 public bool remove (Gst.Element element);
67 public virtual bool remove_element (Gst.Element element);
68 public void remove_many (params Gst.Element[] elements);
70 public bool async_handling { get; set; }
72 public bool message_forward { get; set; }
73 public virtual signal bool do_latency ();
74 public virtual signal void element_added (Gst.Element child);
75 public virtual signal void element_removed (Gst.Element child);
77 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_buffer_ref", unref_function = "gst_buffer_unref")]
78 public class Buffer : Gst.MiniObject {
79 public weak Gst.Caps caps;
80 [CCode (array_length_cname = "size", array_length_type = "guint")]
81 public weak uint8[] data;
82 public Gst.ClockTime duration;
83 public weak GLib.FreeFunc free_func;
84 public void* malloc_data;
86 public uint64 offset_end;
87 public weak Gst.Buffer parent;
89 public Gst.ClockTime timestamp;
90 [CCode (has_construct_function = false)]
92 [CCode (has_construct_function = false)]
93 public Buffer.and_alloc (uint size);
94 public Gst.Buffer copy ();
95 public void copy_metadata (Gst.Buffer src, Gst.BufferCopyFlags flags);
96 public Gst.Buffer create_sub (uint offset, uint size);
97 [CCode (cname = "GST_BUFFER_DURATION_IS_VALID")]
98 public bool duration_is_valid ();
99 [CCode (cname = "GST_BUFFER_FLAG_IS_SET")]
100 public bool flag_is_set (Gst.BufferFlag flag);
101 [CCode (cname = "GST_BUFFER_FLAG_SET")]
102 public void flag_set (Gst.BufferFlag flag);
103 [CCode (cname = "GST_BUFFER_FLAG_UNSET")]
104 public void flag_unset (Gst.BufferFlag flag);
105 public Gst.Caps get_caps ();
106 [CCode (cname = "GST_BUFFER_IS_DISCONT")]
107 public bool is_discont ();
108 public bool is_metadata_writable ();
109 public bool is_span_fast (Gst.Buffer buf2);
110 [ReturnsModifiedPointer]
111 public void join (owned Gst.Buffer buf2);
112 [ReturnsModifiedPointer]
113 public void make_metadata_writable ();
114 [ReturnsModifiedPointer]
115 public void make_writable ();
116 public Gst.Buffer merge (Gst.Buffer buf2);
117 [CCode (cname = "GST_BUFFER_OFFSET_END_IS_VALID")]
118 public bool offset_end_is_valid ();
119 [CCode (cname = "GST_BUFFER_OFFSET_IS_VALID")]
120 public bool offset_is_valid ();
121 public unowned Gst.Buffer @ref ();
122 public static void replace (ref Gst.Buffer? oldobj, Gst.Buffer? newobj);
123 public void set_caps (Gst.Caps caps);
124 public Gst.Buffer span (uint32 offset, Gst.Buffer buf2, uint32 len);
125 [Deprecated (replacement = "Gst.Buffer.copy_metadata")]
126 public void stamp (Gst.Buffer src);
127 [CCode (cname = "GST_BUFFER_TIMESTAMP_IS_VALID")]
128 public bool timestamp_is_valid ();
129 public static Gst.Buffer? try_new_and_alloc (uint size);
130 public void unref ();
132 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_buffer_list_ref", unref_function = "gst_buffer_list_unref")]
133 public class BufferList : Gst.MiniObject {
134 [CCode (has_construct_function = false)]
135 public BufferList ();
136 public Gst.BufferList copy ();
137 public void @foreach (Gst.BufferListFunc func);
138 public unowned Gst.Buffer? @get (uint group, uint idx);
139 public Gst.BufferListIterator iterate ();
140 [ReturnsModifiedPointer]
141 public void make_writable ();
142 public uint n_groups ();
143 public unowned Gst.BufferList @ref ();
144 public void unref ();
146 [CCode (cheader_filename = "gst/gst.h", type_id = "gst_buffer_list_iterator_get_type ()")]
148 public class BufferListIterator {
149 public void add (owned Gst.Buffer buffer);
150 public void add_group ();
151 public void add_list (GLib.List list);
152 public unowned Gst.Buffer? @do (Gst.BufferListDoFunction do_func);
153 public Gst.Buffer? merge_group ();
154 public uint n_buffers ();
155 public unowned Gst.Buffer? next ();
156 public bool next_group ();
157 public void remove ();
158 public unowned Gst.Buffer? steal ();
159 public void take (owned Gst.Buffer buffer);
161 [CCode (cheader_filename = "gst/gst.h")]
162 public class Bus : Gst.Object {
163 [CCode (has_construct_function = false)]
165 public void add_signal_watch ();
166 public void add_signal_watch_full (int priority);
167 [CCode (cname = "gst_bus_add_watch_full")]
168 public uint add_watch (owned Gst.BusFunc func, [CCode (pos = 0.1)] int priority = GLib.Priority.DEFAULT);
169 public uint add_watch_full (int priority, owned Gst.BusFunc func);
170 [CCode (instance_pos = -1)]
171 public bool async_signal_func (Gst.Bus bus, Gst.Message message);
172 public GLib.Source create_watch ();
173 public void disable_sync_message_emission ();
174 public void enable_sync_message_emission ();
175 public bool have_pending ();
176 public Gst.Message? peek ();
177 public Gst.Message? poll (Gst.MessageType events, Gst.ClockTimeDiff timeout);
178 public Gst.Message? pop ();
179 public Gst.Message? pop_filtered (Gst.MessageType types);
180 public bool post (owned Gst.Message message);
181 public void remove_signal_watch ();
182 public void set_flushing (bool flushing);
183 public void set_sync_handler (Gst.BusSyncHandler? func);
184 [CCode (instance_pos = -1)]
185 public Gst.BusSyncReply sync_signal_handler (Gst.Bus bus, Gst.Message message);
186 public Gst.Message? timed_pop (Gst.ClockTime timeout);
187 public Gst.Message? timed_pop_filtered (Gst.ClockTime timeout, Gst.MessageType types);
188 public virtual signal void message (Gst.Message message);
189 public virtual signal void sync_message (Gst.Message message);
191 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_caps_ref", unref_function = "gst_caps_unref")]
193 public Gst.CapsFlags flags;
194 [CCode (has_construct_function = false)]
196 public void append (owned Gst.Caps caps2);
197 public void append_structure (owned Gst.Structure structure);
198 public bool can_intersect (Gst.Caps caps2);
199 public Gst.Caps copy ();
200 public Gst.Caps copy_nth (uint nth);
201 public bool do_simplify ();
202 [CCode (has_construct_function = false)]
203 public Caps.empty ();
204 public static Gst.Caps from_string (string str);
205 [CCode (has_construct_function = false)]
206 public Caps.full (Gst.Structure struct1, ...);
207 [CCode (has_construct_function = false)]
208 public Caps.full_valist (Gst.Structure structure, void* var_args);
209 public uint get_size ();
210 public unowned Gst.Structure get_structure (uint index);
211 public Gst.Caps intersect (Gst.Caps caps2);
212 public unowned Gst.Caps intersect_full (Gst.Caps caps2, Gst.CapsIntersectMode mode);
213 public bool is_always_compatible (Gst.Caps caps2);
214 public bool is_any ();
215 public bool is_empty ();
216 public bool is_equal (Gst.Caps caps2);
217 public bool is_equal_fixed (Gst.Caps caps2);
218 public bool is_fixed ();
219 [CCode (cname = "GST_CAPS_IS_SIMPLE")]
220 public bool is_simple ();
221 public bool is_subset (Gst.Caps superset);
222 public bool is_subset_structure (Gst.Structure structure);
223 public static Gst.Caps load_thyself (void* parent);
224 [ReturnsModifiedPointer]
225 public void make_writable ();
226 public void merge (owned Gst.Caps caps2);
227 public void merge_structure (owned Gst.Structure structure);
228 public Gst.Caps normalize ();
229 public unowned Gst.Caps @ref ();
230 public void remove_structure (uint idx);
231 public static void replace (ref Gst.Caps? oldobj, Gst.Caps? newobj);
232 public void* save_thyself (void* parent);
233 public void set_simple (string field, ...);
234 public void set_simple_valist (string field, void* varargs);
235 public void set_value (string field, GLib.Value value);
236 [CCode (has_construct_function = false)]
237 public Caps.simple (string media_type, string fieldname, ...);
238 public unowned Gst.Structure steal_structure (uint index);
239 public Gst.Caps subtract (Gst.Caps subtrahend);
240 public string to_string ();
241 public void truncate ();
242 public Gst.Caps union (Gst.Caps caps2);
243 public void unref ();
245 [CCode (cheader_filename = "gst/gst.h")]
246 public abstract class Clock : Gst.Object {
247 public weak Gst.ClockID clockid;
248 public weak GLib.List<Gst.ClockEntry> entries;
249 public weak GLib.Cond entries_changed;
250 public Gst.ClockTime external_calibration;
252 public Gst.ClockTime internal_calibration;
253 public Gst.ClockTime last_time;
254 public weak Gst.Clock master;
255 public Gst.ClockTime rate_denominator;
256 public Gst.ClockTime rate_numerator;
257 public Gst.ClockTime resolution;
258 public weak GLib.Mutex slave_lock;
259 public int time_index;
260 [CCode (array_length = false)]
261 public weak Gst.ClockTime[] times;
262 [CCode (has_construct_function = false)]
264 public bool add_observation (Gst.ClockTime slave, Gst.ClockTime master, out double r_squared);
265 public Gst.ClockTime adjust_unlocked (Gst.ClockTime @internal);
267 public virtual Gst.ClockTime change_resolution (Gst.ClockTime old_resolution, Gst.ClockTime new_resolution);
268 public void get_calibration (out Gst.ClockTime @internal, out Gst.ClockTime external, out Gst.ClockTime rate_num, out Gst.ClockTime rate_denom);
269 public virtual Gst.ClockTime get_internal_time ();
270 public Gst.Clock? get_master ();
271 public virtual Gst.ClockTime get_resolution ();
272 public Gst.ClockTime get_time ();
273 public bool periodic_id_reinit (Gst.ClockID id, Gst.ClockTime start_time, Gst.ClockTime interval);
274 public void set_calibration (Gst.ClockTime @internal, Gst.ClockTime external, Gst.ClockTime rate_num, Gst.ClockTime rate_denom);
275 public bool set_master (Gst.Clock? master);
276 public Gst.ClockTime set_resolution (Gst.ClockTime resolution);
277 public bool single_shot_id_reinit (Gst.ClockID id, Gst.ClockTime time);
278 public Gst.ClockTime unadjust_unlocked (Gst.ClockTime external);
280 public virtual void unschedule (Gst.ClockEntry entry);
282 public virtual Gst.ClockReturn wait (Gst.ClockEntry entry);
284 public virtual Gst.ClockReturn wait_async (Gst.ClockEntry entry);
286 public virtual Gst.ClockReturn wait_jitter (Gst.ClockEntry entry, out Gst.ClockTimeDiff jitter);
288 public bool stats { get; set; }
290 public uint64 timeout { get; set; }
292 public int window_size { get; set; }
294 public int window_threshold { get; set; }
296 [CCode (cheader_filename = "gst/gst.h")]
298 public class ClockEntry {
299 public weak Gst.Clock clock;
300 public weak GLib.DestroyNotify destroy_data;
301 public weak Gst.ClockCallback func;
302 public Gst.ClockTime interval;
304 public Gst.ClockReturn status;
305 public Gst.ClockTime time;
306 public Gst.ClockEntryType type;
307 public bool unscheduled;
308 public void* user_data;
309 public bool woken_up;
311 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_clock_id_ref", unref_function = "gst_clock_id_unref")]
313 public class ClockID {
314 public static int compare_func (void* id1, void* id2);
315 public Gst.ClockTime get_time ();
316 [CCode (cname = "gst_clock_new_periodic_id")]
317 public ClockID.periodic (Gst.Clock clock, Gst.ClockTime start_time, Gst.ClockTime interval);
318 [CCode (cname = "gst_clock_new_single_shot_id")]
319 public ClockID.single_shot (Gst.Clock clock, Gst.ClockTime time);
320 public void unschedule ();
321 public Gst.ClockReturn wait (out Gst.ClockTimeDiff jitter);
322 public Gst.ClockReturn wait_async (Gst.ClockCallback func);
323 public Gst.ClockReturn wait_async_full (Gst.ClockCallback func, GLib.DestroyNotify destroy_data);
325 [CCode (cheader_filename = "gst/gst.h", type_id = "gst_date_get_type ()")]
329 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_date_time_ref", type_id = "gst_date_time_get_type ()", unref_function = "gst_date_time_unref")]
331 public class DateTime {
332 [CCode (has_construct_function = false)]
333 public DateTime (float tzoffset, int year, int month, int day, int hour, int minute, double seconds);
334 [CCode (has_construct_function = false)]
335 public DateTime.from_unix_epoch_local_time (int64 secs);
336 [CCode (has_construct_function = false)]
337 public DateTime.from_unix_epoch_utc (int64 secs);
338 public int get_day ();
339 public int get_hour ();
340 public int get_microsecond ();
341 public int get_minute ();
342 public int get_month ();
343 public int get_second ();
344 public float get_time_zone_offset ();
345 public int get_year ();
346 [CCode (has_construct_function = false)]
347 public DateTime.local_time (int year, int month, int day, int hour, int minute, double seconds);
348 [CCode (has_construct_function = false)]
349 public DateTime.now_local_time ();
350 [CCode (has_construct_function = false)]
351 public DateTime.now_utc ();
353 [CCode (cheader_filename = "gst/gst.h")]
355 public class DebugCategory {
356 [CCode (cname = "GST_CAT_DEBUG")]
357 public void debug (string format, ...);
358 [CCode (cname = "GST_CAT_DEBUG_OBJECT")]
359 public void debug_object (GLib.Object obj, string format, ...);
360 [CCode (cname = "GST_CAT_ERROR")]
361 public void error (string format, ...);
362 [CCode (cname = "GST_CAT_ERROR_OBJECT")]
363 public void error_object (GLib.Object obj, string format, ...);
364 [CCode (cname = "GST_DEBUG_CATEGORY_GET")]
365 public static unowned Gst.DebugCategory @get (string name);
366 public uint get_color ();
367 public unowned string get_description ();
368 public unowned string get_name ();
369 public Gst.DebugLevel get_threshold ();
370 [CCode (cname = "GST_CAT_INFO")]
371 public void info (string format, ...);
372 [CCode (cname = "GST_CAT_INFO_OBJECT")]
373 public void info_object (GLib.Object obj, string format, ...);
374 [CCode (cname = "GST_DEBUG_CATEGORY_INIT")]
375 public void init (string name, uint color, string description);
376 [CCode (cname = "GST_CAT_LOG")]
377 public void log (string format, ...);
378 [CCode (cname = "GST_CAT_LOG_OBJECT")]
379 public void log_object (GLib.Object obj, string format, ...);
380 public void reset_threshold ();
381 public void set_threshold (Gst.DebugLevel level);
382 [CCode (cname = "GST_CAT_WARNING")]
383 public void warning (string format, ...);
384 [CCode (cname = "GST_CAT_WARNING_OBJECT")]
385 public void warning_object (GLib.Object obj, string format, ...);
387 [CCode (cheader_filename = "gst/gst.h")]
389 public class DebugMessage {
390 public unowned string @get ();
392 [CCode (cheader_filename = "gst/gst.h")]
393 public abstract class Element : Gst.Object {
394 public Gst.ClockTimeDiff base_time;
395 public weak Gst.Bus bus;
396 public weak Gst.Clock clock;
397 public Gst.State current_state;
398 public Gst.StateChangeReturn last_return;
399 public Gst.State next_state;
400 public uint16 numpads;
401 public uint16 numsinkpads;
402 public uint16 numsrcpads;
403 public weak GLib.List<Gst.Pad> pads;
404 public uint32 pads_cookie;
405 public Gst.State pending_state;
406 public weak GLib.List<Gst.Pad> sinkpads;
407 public weak GLib.List<Gst.Pad> srcpads;
408 public weak GLib.Cond state_cond;
409 public uint32 state_cookie;
410 public GLib.StaticRecMutex state_lock;
411 [CCode (cname = "abidata.ABI.target_state")]
412 public Gst.State target_state;
413 [CCode (has_construct_function = false)]
414 protected Element ();
415 public void abort_state ();
416 public bool add_pad (Gst.Pad pad);
417 [CCode (cname = "gst_element_class_add_pad_template")]
418 public class void add_pad_template (Gst.PadTemplate templ);
419 public virtual Gst.StateChangeReturn change_state (Gst.StateChange transition);
420 public Gst.StateChangeReturn continue_state (Gst.StateChangeReturn ret);
421 public void create_all_pads ();
422 public void found_tags (owned Gst.TagList list);
423 public void found_tags_for_pad (Gst.Pad pad, owned Gst.TagList list);
424 public Gst.ClockTime get_base_time ();
425 public Gst.Bus? get_bus ();
426 public Gst.Clock? get_clock ();
427 public Gst.Pad? get_compatible_pad (Gst.Pad pad, Gst.Caps? caps);
428 public unowned Gst.PadTemplate? get_compatible_pad_template (Gst.PadTemplate compattempl);
429 public unowned Gst.ElementFactory? get_factory ();
430 public virtual Gst.Index? get_index ();
432 public Gst.Pad? get_pad (string name);
433 [CCode (cname = "gst_element_class_get_pad_template")]
434 public class unowned Gst.PadTemplate? get_pad_template (string name);
435 [CCode (cname = "gst_element_class_get_pad_template_list")]
436 public class unowned GLib.List<Gst.PadTemplate> get_pad_template_list ();
437 [CCode (array_length = false)]
438 public virtual unowned Gst.QueryType[]? get_query_types ();
439 [Deprecated (replacement = "Gst.Element.request_pad")]
440 public Gst.Pad? get_request_pad (string name);
441 public Gst.ClockTime get_start_time ();
442 public virtual Gst.StateChangeReturn get_state (out Gst.State state, out Gst.State pending, Gst.ClockTime timeout);
443 public Gst.Pad? get_static_pad (string name);
444 public bool implements_interface (GLib.Type iface_type);
445 [CCode (cname = "gst_element_class_install_std_props")]
446 public class void install_std_props (...);
447 public bool is_indexable ();
448 public bool is_locked_state ();
449 public Gst.Iterator<Gst.Pad> iterate_pads ();
450 public Gst.Iterator<Gst.Pad> iterate_sink_pads ();
451 public Gst.Iterator<Gst.Pad> iterate_src_pads ();
452 public bool link (Gst.Element dest);
453 public bool link_filtered (Gst.Element dest, Gst.Caps filter);
454 public bool link_many (Gst.Element element_2, ...);
455 public bool link_pads (string srcpadname, Gst.Element dest, string destpadname);
456 public bool link_pads_filtered (string srcpadname, Gst.Element dest, string destpadname, Gst.Caps filter);
457 public bool link_pads_full (string srcpadname, Gst.Element dest, string destpadname, Gst.PadLinkCheck flags);
458 public void lost_state ();
459 public void lost_state_full (bool new_base_time);
460 [CCode (returns_floating_reference = true)]
461 public static Gst.Element? make_from_uri (Gst.URIType type, string uri, string? elementname);
462 public void message_full (Gst.MessageType type, GLib.Quark domain, int code, owned string? text, owned string? debug, string file, string function, int line);
463 public bool post_message (owned Gst.Message message);
464 public virtual Gst.Clock? provide_clock ();
465 public bool provides_clock ();
466 public virtual bool query (Gst.Query query);
467 public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
468 public bool query_duration (ref Gst.Format format, out int64 duration);
469 public bool query_position (ref Gst.Format format, out int64 cur);
470 public static bool register (Gst.Plugin? plugin, string name, uint rank, GLib.Type type);
472 public virtual void release_pad (Gst.Pad pad);
473 public void release_request_pad (Gst.Pad pad);
474 public bool remove_pad (Gst.Pad pad);
476 public virtual unowned Gst.Pad request_new_pad (Gst.PadTemplate templ, string? name);
478 public virtual unowned Gst.Pad request_new_pad_full (Gst.PadTemplate templ, string name, Gst.Caps caps);
479 public Gst.Pad? request_pad (Gst.PadTemplate templ, string? name, Gst.Caps? caps);
480 public bool requires_clock ();
481 public bool seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType cur_type, int64 cur, Gst.SeekType stop_type, int64 stop);
482 public bool seek_simple (Gst.Format format, Gst.SeekFlags seek_flags, int64 seek_pos);
483 public virtual bool send_event (owned Gst.Event event);
484 public void set_base_time (Gst.ClockTime time);
485 public virtual void set_bus (Gst.Bus? bus);
486 public virtual bool set_clock (Gst.Clock? clock);
487 [CCode (cname = "gst_element_class_set_details")]
488 [Deprecated (replacement = "Gst.Element.set_details_simple")]
489 public class void set_details (Gst.ElementDetails details);
490 [CCode (cname = "gst_element_class_set_details_simple")]
491 public class void set_details_simple (string longname, string classification, string description, string author);
492 [CCode (cname = "gst_element_class_set_documentation_uri")]
493 public class void set_documentation_uri (string uri);
494 [CCode (cname = "gst_element_class_set_icon_name")]
495 public class void set_icon_name (string name);
496 public virtual void set_index (Gst.Index? index);
497 public bool set_locked_state (bool locked_state);
498 public void set_start_time (Gst.ClockTime time);
499 public virtual Gst.StateChangeReturn set_state (Gst.State state);
501 public virtual void state_changed (Gst.State oldstate, Gst.State newstate, Gst.State pending);
502 public bool sync_state_with_parent ();
503 public void unlink (Gst.Element dest);
504 public void unlink_many (Gst.Element element_2, ...);
505 public void unlink_pads (string srcpadname, Gst.Element dest, string destpadname);
507 public virtual signal void no_more_pads ();
508 public virtual signal void pad_added (Gst.Pad pad);
509 public virtual signal void pad_removed (Gst.Pad pad);
511 [CCode (cheader_filename = "gst/gst.h")]
512 public class ElementFactory : Gst.PluginFeature {
513 [CCode (has_construct_function = false)]
514 protected ElementFactory ();
515 public bool can_sink_all_caps (Gst.Caps caps);
516 [Deprecated (replacement = "Gst.ElementFactory.can_sink_all_caps")]
517 public bool can_sink_any_caps (Gst.Caps caps);
518 public bool can_sink_caps (Gst.Caps caps);
519 public bool can_src_all_caps (Gst.Caps caps);
520 [Deprecated (replacement = "Gst.ElementFactory.can_src_all_caps")]
521 public bool can_src_any_caps (Gst.Caps caps);
522 public bool can_src_caps (Gst.Caps caps);
523 [CCode (returns_floating_reference = true)]
524 public Gst.Element? create (string? name);
525 public static Gst.ElementFactory? find (string name);
526 public unowned string get_author ();
527 public unowned string get_description ();
528 public unowned string get_documentation_uri ();
529 public GLib.Type get_element_type ();
530 public unowned string get_icon_name ();
531 public unowned string get_klass ();
532 public unowned string get_longname ();
533 public uint get_num_pad_templates ();
534 public unowned GLib.List<Gst.StaticPadTemplate> get_static_pad_templates ();
535 [CCode (array_length = false, array_null_terminated = true)]
536 public string[]? get_uri_protocols ();
537 public int get_uri_type ();
538 public bool has_interface (string interfacename);
539 public static GLib.List<Gst.ElementFactory> list_filter (GLib.List<Gst.ElementFactory> list, Gst.Caps caps, Gst.PadDirection direction, bool subsetonly);
540 public static GLib.List<Gst.ElementFactory> list_get_elements (Gst.ElementFactoryListType type, Gst.Rank minrank);
541 public bool list_is_type (Gst.ElementFactoryListType type);
542 [CCode (returns_floating_reference = true)]
543 public static Gst.Element? make (string factoryname, string? name);
545 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_event_ref", unref_function = "gst_event_unref")]
546 public class Event : Gst.MiniObject {
547 public weak Gst.Object src;
548 public uint64 timestamp;
549 public Gst.EventType type;
550 [CCode (has_construct_function = false)]
551 public Event.buffer_size (Gst.Format format, int64 minsize, int64 maxsize, bool @async);
552 public Gst.Event copy ();
553 [CCode (has_construct_function = false)]
554 public Event.custom (Gst.EventType type, owned Gst.Structure structure);
555 [CCode (has_construct_function = false)]
557 [CCode (has_construct_function = false)]
558 public Event.flush_start ();
559 [CCode (has_construct_function = false)]
560 public Event.flush_stop ();
561 public uint32 get_seqnum ();
562 public unowned Gst.Structure get_structure ();
563 public bool has_name (string name);
564 [CCode (cname = "GST_EVENT_IS_DOWNSTREAM")]
565 public bool is_downstream ();
566 [CCode (cname = "GST_EVENT_IS_SERIALIZED")]
567 public bool is_serialized ();
568 [CCode (cname = "GST_EVENT_IS_UPSTREAM")]
569 public bool is_upstream ();
570 [CCode (has_construct_function = false)]
571 public Event.latency (Gst.ClockTime latency);
572 [CCode (has_construct_function = false)]
573 public Event.navigation (owned Gst.Structure structure);
574 [CCode (has_construct_function = false)]
575 public Event.new_segment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 position);
576 [CCode (has_construct_function = false)]
577 public Event.new_segment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 position);
578 public void parse_buffer_size (out Gst.Format format, out int64 minsize, out int64 maxsize, out bool @async);
579 public void parse_latency (out Gst.ClockTime latency);
580 public void parse_new_segment (out bool update, out double rate, out Gst.Format format, out int64 start, out int64 stop, out int64 position);
581 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);
582 public void parse_qos (out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
583 public void parse_qos_full (out Gst.QOSType type, out double proportion, out Gst.ClockTimeDiff diff, out Gst.ClockTime timestamp);
584 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);
585 public void parse_sink_message (out unowned Gst.Message msg);
586 public void parse_step (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
587 public void parse_tag (out unowned Gst.TagList taglist);
588 [CCode (has_construct_function = false)]
589 public Event.qos (double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
590 [CCode (has_construct_function = false)]
591 public Event.qos_full (Gst.QOSType type, double proportion, Gst.ClockTimeDiff diff, Gst.ClockTime timestamp);
592 public unowned Gst.Event @ref ();
593 public static void replace (ref Gst.Event? oldobj, Gst.Event? newobj);
594 [CCode (has_construct_function = false)]
595 public Event.seek (double rate, Gst.Format format, Gst.SeekFlags flags, Gst.SeekType start_type, int64 start, Gst.SeekType stop_type, int64 stop);
596 public void set_seqnum (uint32 seqnum);
597 [CCode (has_construct_function = false)]
598 public Event.sink_message (owned Gst.Message msg);
599 [CCode (has_construct_function = false)]
600 public Event.step (Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
601 [CCode (has_construct_function = false)]
602 public Event.tag (owned Gst.TagList taglist);
603 public static Gst.EventTypeFlags type_get_flags (Gst.EventType type);
604 public static unowned string type_get_name (Gst.EventType type);
605 public static GLib.Quark type_to_quark (Gst.EventType type);
606 public void unref ();
608 [CCode (cheader_filename = "gst/gst.h", type_id = "gst_g_error_get_type ()")]
610 public class GError {
612 [CCode (cheader_filename = "gst/gst.h")]
613 public class GhostPad : Gst.Pad {
614 [CCode (has_construct_function = false, type = "GstPad*")]
615 public GhostPad (string? name, Gst.Pad target);
616 public static bool activate_pull_default (Gst.Pad pad, bool active);
617 public static bool activate_push_default (Gst.Pad pad, bool active);
618 [CCode (has_construct_function = false, type = "GstPad*")]
619 public GhostPad.from_template (string? name, Gst.Pad target, Gst.PadTemplate templ);
620 public Gst.Pad? get_target ();
621 public static bool internal_activate_pull_default (Gst.Pad pad, bool active);
622 public static bool internal_activate_push_default (Gst.Pad pad, bool active);
623 public static Gst.PadLinkReturn link_default (Gst.Pad pad, Gst.Pad peer);
624 [CCode (has_construct_function = false, type = "GstPad*")]
625 public GhostPad.no_target (string? name, Gst.PadDirection dir);
626 [CCode (has_construct_function = false, type = "GstPad*")]
627 public GhostPad.no_target_from_template (string? name, Gst.PadTemplate templ);
628 public bool set_target (Gst.Pad? newtarget);
629 public static bool setcaps_default (Gst.Pad pad, Gst.Caps caps);
630 public static void unlink_default (Gst.Pad pad);
632 [CCode (cheader_filename = "gst/gst.h")]
633 public abstract class Index : Gst.Object {
634 [CCode (has_construct_function = false)]
636 public unowned Gst.IndexEntry add_association (int id, Gst.AssocFlags flags, Gst.Format format, int64 value, ...);
637 public unowned Gst.IndexEntry? add_associationv (int id, Gst.AssocFlags flags, [CCode (array_length_pos = 2.9)] Gst.IndexAssociation[] list);
639 public virtual void add_entry (Gst.IndexEntry entry);
640 public unowned Gst.IndexEntry? add_format (int id, Gst.Format format);
641 public unowned Gst.IndexEntry? add_id (int id, string description);
642 public unowned Gst.IndexEntry? add_object (int id, string key, GLib.Type type, void* object);
643 public virtual void commit (int id);
644 public virtual unowned Gst.IndexEntry? get_assoc_entry (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value);
645 public unowned Gst.IndexEntry? get_assoc_entry_full (int id, Gst.IndexLookupMethod method, Gst.AssocFlags flags, Gst.Format format, int64 value, GLib.CompareDataFunc func);
646 public Gst.IndexCertainty get_certainty ();
647 public int get_group ();
648 public virtual bool get_writer_id (Gst.Object writer, out int id);
649 [CCode (cname = "GST_INDEX_IS_READABLE")]
650 public bool is_readable ();
651 [CCode (cname = "GST_INDEX_IS_WRITABLE")]
652 public bool is_writable ();
653 public int new_group ();
654 public void set_certainty (Gst.IndexCertainty certainty);
655 [CCode (cname = "gst_index_set_filter_full")]
656 public void set_filter (owned Gst.IndexFilter filter);
657 public bool set_group (int groupnum);
658 [CCode (cname = "gst_index_set_resolver_full")]
659 public void set_resolver (owned Gst.IndexResolver resolver);
661 public Gst.IndexResolver resolver { owned get; set; }
662 public virtual signal void entry_added (Gst.IndexEntry entry);
664 [CCode (cheader_filename = "gst/gst.h", copy_function = "gst_index_entry_copy")]
666 public class IndexEntry {
667 public Gst.IndexEntryType type;
668 [CCode (cname = "GST_INDEX_ASSOC_FLAGS")]
669 public Gst.AssocFlags assoc_flags ();
670 [CCode (cname = "GST_INDEX_ASSOC_FORMAT")]
671 public Gst.Format assoc_format (int i);
672 public bool assoc_map (Gst.Format format, out int64 value);
673 [CCode (cname = "GST_INDEX_ASSOC_VALUE")]
674 public Gst.IndexAssociation assoc_value (int i);
675 public Gst.IndexEntry copy ();
676 [CCode (cname = "GST_INDEX_FORMAT_FORMAT")]
677 public Gst.Format format_format ();
678 [CCode (cname = "GST_INDEX_FORMAT_KEY")]
679 public unowned string format_key ();
680 [CCode (cname = "GST_INDEX_ID_DESCRIPTION")]
681 public unowned string id_description ();
682 [CCode (cname = "GST_INDEX_NASSOCS")]
683 public int n_assocs ();
685 [CCode (cheader_filename = "gst/gst.h")]
686 public class IndexFactory : Gst.PluginFeature {
687 public weak string longdesc;
688 public GLib.Type type;
689 [CCode (has_construct_function = false)]
690 public IndexFactory (string name, string longdesc, GLib.Type type);
691 public Gst.Index create ();
692 public void destroy ();
693 public static Gst.IndexFactory? find (string name);
694 public static Gst.Index? make (string name);
696 [CCode (cheader_filename = "gst/gst.h")]
698 public class Iterator<T> {
699 public uint32 cookie;
700 public weak GLib.Mutex @lock;
701 public void* master_cookie;
702 public weak Gst.Iterator pushed;
703 public GLib.Type type;
704 [CCode (has_construct_function = false)]
705 public Iterator (uint size, GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, Gst.IteratorNextFunction<T> next, Gst.IteratorItemFunction<T> item, Gst.IteratorResyncFunction resync, Gst.IteratorFreeFunction free);
706 public T find_custom (GLib.CompareFunc func, T user_data);
707 public Gst.IteratorResult fold ([CCode (delegate_target_pos = 2.1)] Gst.IteratorFoldFunction<T> func, out Gst.Value ret);
708 public Gst.IteratorResult @foreach (GLib.Func func);
709 [CCode (has_construct_function = false)]
710 public Iterator.list (GLib.Type type, GLib.Mutex @lock, ref uint32 master_cookie, GLib.List<T> list, void* owner, Gst.IteratorItemFunction<T> item, Gst.IteratorDisposeFunction free);
711 public Gst.IteratorResult next (out T elem);
712 public void push (Gst.Iterator other);
713 public void resync ();
714 [CCode (has_construct_function = false)]
715 public Iterator.single (GLib.Type type, T object, Gst.CopyFunction copy, GLib.FreeFunc free);
717 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_message_ref", unref_function = "gst_message_unref")]
718 public class Message : Gst.MiniObject {
719 public weak Gst.Object src;
720 public uint64 timestamp;
721 public Gst.MessageType type;
722 [CCode (has_construct_function = false)]
723 public Message.application (Gst.Object src, owned Gst.Structure? structure);
724 [CCode (has_construct_function = false)]
725 public Message.async_done (Gst.Object src);
726 [CCode (has_construct_function = false)]
727 public Message.async_start (Gst.Object src, bool new_base_time);
728 [CCode (has_construct_function = false)]
729 public Message.buffering (Gst.Object src, int percent);
730 [CCode (has_construct_function = false)]
731 public Message.clock_lost (Gst.Object src, Gst.Clock clock);
732 [CCode (has_construct_function = false)]
733 public Message.clock_provide (Gst.Object src, Gst.Clock clock, bool ready);
734 public Gst.Message copy ();
735 [CCode (has_construct_function = false)]
736 public Message.custom (Gst.MessageType type, Gst.Object src, owned Gst.Structure? structure);
737 [CCode (has_construct_function = false)]
738 public Message.duration (Gst.Object src, Gst.Format format, int64 duration);
739 [CCode (has_construct_function = false)]
740 public Message.element (Gst.Object src, owned Gst.Structure? structure);
741 [CCode (has_construct_function = false)]
742 public Message.eos (Gst.Object src);
743 [CCode (has_construct_function = false)]
744 public Message.error (Gst.Object src, GLib.Error error, string? debug);
745 public uint32 get_seqnum ();
746 public unowned Gst.Value? get_stream_status_object ();
747 public unowned Gst.Structure? get_structure ();
748 [CCode (has_construct_function = false)]
749 public Message.info (Gst.Object src, GLib.Error error, string? debug);
750 [CCode (has_construct_function = false)]
751 public Message.latency (Gst.Object src);
752 [ReturnsModifiedPointer]
753 public void make_writable ();
754 [CCode (has_construct_function = false)]
755 public Message.new_clock (Gst.Object src, Gst.Clock clock);
756 public void parse_async_start (out bool new_base_time);
757 public void parse_buffering (out int percent);
758 public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
759 public void parse_clock_lost (out unowned Gst.Clock clock);
760 public void parse_clock_provide (out unowned Gst.Clock clock, out bool ready);
761 public void parse_duration (out Gst.Format format, out int64 duration);
762 public void parse_error (out GLib.Error gerror, out string? debug);
763 public void parse_info (out GLib.Error gerror, out string? debug);
764 public void parse_new_clock (out unowned Gst.Clock clock);
765 public void parse_progress (out Gst.ProgressType type, out string code, out string text);
766 public void parse_qos (out bool live, out uint64 running_time, out uint64 stream_time, out uint64 timestamp, out uint64 duration);
767 public void parse_qos_stats (out Gst.Format format, out uint64 processed, out uint64 dropped);
768 public void parse_qos_values (out int64 jitter, out double proportion, out int quality);
769 public void parse_request_state (out Gst.State state);
770 public void parse_segment_done (out Gst.Format format, out int64 position);
771 public void parse_segment_start (out Gst.Format format, out int64 position);
772 public void parse_state_changed (out Gst.State oldstate, out Gst.State newstate, out Gst.State pending);
773 public void parse_step_done (out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate, out uint64 duration, out bool eos);
774 public void parse_step_start (out bool active, out Gst.Format format, out uint64 amount, out double rate, out bool flush, out bool intermediate);
775 public void parse_stream_status (out Gst.StreamStatusType type, out unowned Gst.Element owner);
776 public void parse_structure_change (out Gst.StructureChangeType type, out unowned Gst.Element owner, out bool busy);
777 public void parse_tag (out Gst.TagList tag_list);
778 public void parse_tag_full (out unowned Gst.Pad pad, out unowned Gst.TagList tag_list);
779 public void parse_warning (out GLib.Error gerror, out string? debug);
780 [CCode (has_construct_function = false)]
781 public Message.progress (Gst.Object src, Gst.ProgressType type, string code, string text);
782 [CCode (has_construct_function = false)]
783 public Message.qos (Gst.Object src, bool live, uint64 running_time, uint64 stream_time, uint64 timestamp, uint64 duration);
784 public unowned Gst.Message @ref ();
785 [CCode (has_construct_function = false)]
786 public Message.request_state (Gst.Object src, Gst.State state);
787 [CCode (has_construct_function = false)]
788 public Message.segment_done (Gst.Object src, Gst.Format format, int64 position);
789 [CCode (has_construct_function = false)]
790 public Message.segment_start (Gst.Object src, Gst.Format format, int64 position);
791 public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
792 public void set_qos_stats (Gst.Format format, uint64 processed, uint64 dropped);
793 public void set_qos_values (int64 jitter, double proportion, int quality);
794 public void set_seqnum (uint32 seqnum);
795 public void set_stream_status_object (ref unowned Gst.Value? object);
796 [CCode (has_construct_function = false)]
797 public Message.state_changed (Gst.Object src, Gst.State oldstate, Gst.State newstate, Gst.State pending);
798 [CCode (has_construct_function = false)]
799 public Message.state_dirty (Gst.Object src);
800 [CCode (has_construct_function = false)]
801 public Message.step_done (Gst.Object src, Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate, uint64 duration, bool eos);
802 [CCode (has_construct_function = false)]
803 public Message.step_start (Gst.Object src, bool active, Gst.Format format, uint64 amount, double rate, bool flush, bool intermediate);
804 [CCode (has_construct_function = false)]
805 public Message.stream_status (Gst.Object src, Gst.StreamStatusType type, Gst.Element owner);
806 [CCode (has_construct_function = false)]
807 public Message.structure_change (Gst.Object src, Gst.StructureChangeType type, Gst.Element owner, bool busy);
808 [CCode (has_construct_function = false)]
809 public Message.tag (Gst.Object src, Gst.TagList tag_list);
810 [CCode (has_construct_function = false)]
811 public Message.tag_full (Gst.Object src, Gst.Pad pad, Gst.TagList tag_list);
812 public static GLib.Quark type_to_quark (Gst.MessageType type);
813 public void unref ();
814 [CCode (has_construct_function = false)]
815 public Message.warning (Gst.Object src, GLib.Error error, string? debug);
817 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_mini_object_ref", unref_function = "gst_mini_object_unref")]
818 public abstract class MiniObject {
819 public Gst.MiniObjectFlags flags;
820 [CCode (has_construct_function = false)]
821 public MiniObject (GLib.Type type);
822 public virtual Gst.MiniObject copy ();
823 public virtual void finalize ();
824 [CCode (cname = "GST_MINI_OBJECT_FLAG_IS_SET")]
825 public bool flag_is_set (Gst.MiniObjectFlags flag);
826 [CCode (cname = "GST_MINI_OBJECT_FLAG_SET")]
827 public void flag_set (Gst.MiniObjectFlags flag);
828 [CCode (cname = "GST_MINI_OBJECT_FLAG_UNSET")]
829 public void flag_unset (Gst.MiniObjectFlags flag);
830 public bool is_writable ();
831 [ReturnsModifiedPointer]
832 public void make_writable ();
833 public unowned Gst.MiniObject @ref ();
834 public static void replace (ref Gst.MiniObject? oldobj, Gst.MiniObject? newobj);
835 public void unref ();
836 public void weak_ref (Gst.MiniObjectWeakNotify notify, void* data);
837 public void weak_unref (Gst.MiniObjectWeakNotify notify, void* data);
839 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_object_ref", ref_sink_function = "gst_object_ref_sink", unref_function = "gst_object_unref")]
840 public abstract class Object : GLib.Object {
841 public Gst.ObjectFlags flags;
842 public weak GLib.Mutex @lock;
843 public weak string name_prefix;
844 public weak Gst.Object parent;
845 [CCode (has_construct_function = false)]
847 public static bool check_uniqueness (GLib.List<Gst.Object> list, string name);
848 public static void default_deep_notify (GLib.Object object, Gst.Object orig, GLib.ParamSpec pspec, string? excluded_props);
849 public void default_error (GLib.Error error, string? debug);
850 [CCode (cname = "GST_OBJECT_FLAG_IS_SET")]
851 public bool flag_is_set (Gst.ObjectFlags flag);
852 [CCode (cname = "GST_OBJECT_FLAG_SET")]
853 public void flag_set (Gst.ObjectFlags flag);
854 [CCode (cname = "GST_OBJECT_FLAG_UNSET")]
855 public void flag_unset (Gst.ObjectFlags flag);
856 public string get_name ();
857 public string get_name_prefix ();
858 public Gst.Object get_parent ();
859 public string get_path_string ();
860 public bool has_ancestor (Gst.Object ancestor);
861 [CCode (cname = "GST_OBJECT_IS_DISPOSING")]
862 public bool is_disposing ();
863 [CCode (cname = "GST_OBJECT_IS_FLOATING")]
864 public bool is_floating ();
865 public unowned Gst.Object @ref ();
866 public void ref_sink ();
867 public static void replace (ref Gst.Object? oldobj, Gst.Object? newobj);
868 public virtual void restore_thyself (void* self);
869 public virtual void* save_thyself (void* parent);
870 public bool set_name (string name);
871 public void set_name_prefix (string name_prefix);
872 public bool set_parent (Gst.Object parent);
874 public void unparent ();
875 public void unref ();
876 public string name { owned get; set construct; }
877 public virtual signal void deep_notify (Gst.Object orig, GLib.ParamSpec pspec);
878 public virtual signal void object_saved (void* parent);
879 public virtual signal void parent_set (Gst.Object parent);
880 public virtual signal void parent_unset (Gst.Object parent);
882 [CCode (cheader_filename = "gst/gst.h")]
883 public class Pad : Gst.Object {
884 public weak Gst.PadAcceptCapsFunction acceptcapsfunc;
885 public weak Gst.PadActivateFunction activatefunc;
886 public weak Gst.PadActivateModeFunction activatepullfunc;
887 public weak Gst.PadActivateModeFunction activatepushfunc;
888 public weak Gst.PadBufferAllocFunction bufferallocfunc;
889 public weak Gst.PadChainFunction chainfunc;
890 public weak Gst.PadCheckGetRangeFunction checkgetrangefunc;
891 public void* element_private;
892 public weak Gst.PadEventFunction eventfunc;
893 public weak Gst.PadFixateCapsFunction fixatecapsfunc;
894 public weak Gst.PadGetCapsFunction getcapsfunc;
895 public weak Gst.PadGetRangeFunction getrangefunc;
896 public weak Gst.PadIntLinkFunction intlinkfunc;
897 public weak Gst.PadIterIntLinkFunction iterintlinkfunc;
898 public weak Gst.PadLinkFunction linkfunc;
899 public Gst.ActivateMode mode;
900 public weak Gst.PadQueryFunction queryfunc;
901 public weak Gst.PadQueryTypeFunction querytypefunc;
902 public weak Gst.PadSetCapsFunction setcapsfunc;
903 public weak Gst.PadUnlinkFunction unlinkfunc;
904 [CCode (has_construct_function = false)]
905 public Pad (string name, Gst.PadDirection direction);
906 public bool accept_caps (Gst.Caps caps);
907 public bool activate_pull (bool active);
908 public bool activate_push (bool active);
909 [CCode (cname = "gst_pad_add_buffer_probe_full")]
910 public uint add_buffer_probe ([CCode (type = "GCallback")] owned Gst.BufferProbeCallback handler);
911 [CCode (cname = "gst_pad_add_data_probe_full")]
912 public uint add_data_probe ([CCode (type = "GCallback")] owned Gst.DataProbeCallback handler);
913 [CCode (cname = "gst_pad_add_event_probe_full")]
914 public uint add_event_probe ([CCode (type = "GCallback")] owned Gst.EventProbeCallback handler);
915 public Gst.FlowReturn alloc_buffer (uint64 offset, int size, Gst.Caps caps, out Gst.Buffer buf);
916 public Gst.FlowReturn alloc_buffer_and_set_caps (uint64 offset, int size, Gst.Caps caps, out Gst.Buffer buf);
917 public bool can_link (Gst.Pad sinkpad);
918 public Gst.FlowReturn chain (owned Gst.Buffer buffer);
919 public Gst.FlowReturn chain_list (owned Gst.BufferList list);
920 public bool check_pull_range ();
921 public bool dispatcher (Gst.PadDispatcherFunction dispatch);
922 public bool event_default (owned Gst.Event event);
923 public void fixate_caps (Gst.Caps caps);
924 [CCode (has_construct_function = false)]
925 public Pad.from_static_template (Gst.StaticPadTemplate templ, string name);
926 [CCode (has_construct_function = false)]
927 public Pad.from_template (Gst.PadTemplate templ, string name);
928 public Gst.Caps get_allowed_caps ();
929 public Gst.Caps get_caps ();
930 public Gst.Caps get_caps_reffed ();
931 public Gst.PadDirection get_direction ();
932 public void* get_element_private ();
933 public Gst.Caps get_fixed_caps_func ();
934 [Deprecated (replacement = "Gst.Pad.iterate_internal_links")]
935 public GLib.List<Gst.Pad> get_internal_links ();
936 [Deprecated (replacement = "Gst.Pad.iterate_internal_links_default")]
937 public GLib.List<Gst.Pad> get_internal_links_default ();
938 public Gst.Caps get_negotiated_caps ();
939 public unowned Gst.PadTemplate get_pad_template ();
940 public unowned Gst.Caps get_pad_template_caps ();
941 public Gst.Element? get_parent_element ();
942 public Gst.Pad get_peer ();
943 [CCode (array_length = false)]
944 public unowned Gst.QueryType[]? get_query_types ();
945 [CCode (array_length = false)]
946 public unowned Gst.QueryType[]? get_query_types_default ();
947 public Gst.FlowReturn get_range (uint64 offset, uint size, out Gst.Buffer buffer);
948 public bool is_active ();
949 public bool is_blocked ();
950 public bool is_blocking ();
951 public bool is_linked ();
952 public Gst.Iterator<Gst.Pad> iterate_internal_links ();
953 public Gst.Iterator<Gst.Pad> iterate_internal_links_default ();
954 public Gst.PadLinkReturn link (Gst.Pad sinkpad);
955 public Gst.PadLinkReturn link_full (Gst.Pad sinkpad, Gst.PadLinkCheck flags);
956 public void load_and_link (Gst.Object parent);
957 public bool pause_task ();
958 public bool peer_accept_caps (Gst.Caps caps);
959 public Gst.Caps peer_get_caps ();
960 public Gst.Caps peer_get_caps_reffed ();
961 public bool peer_query (Gst.Query query);
962 public Gst.Caps proxy_getcaps ();
963 public bool proxy_setcaps (Gst.Caps caps);
964 public Gst.FlowReturn pull_range (uint64 offset, uint size, out Gst.Buffer buffer);
965 public Gst.FlowReturn push (owned Gst.Buffer buffer);
966 public bool push_event (owned Gst.Event event);
967 public Gst.FlowReturn push_list (owned Gst.BufferList list);
968 public bool query (Gst.Query query);
969 public bool query_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
970 public bool query_default (Gst.Query query);
971 public bool query_duration (ref Gst.Format format, out int64 duration);
972 public bool query_peer_convert (Gst.Format src_format, int64 src_val, ref Gst.Format dest_format, out int64 dest_val);
973 public bool query_peer_duration (ref Gst.Format format, out int64 duration);
974 public bool query_peer_position (ref Gst.Format format, out int64 cur);
975 public bool query_position (ref Gst.Format format, out int64 cur);
976 public void remove_buffer_probe (uint handler_id);
977 public void remove_data_probe (uint handler_id);
978 public void remove_event_probe (uint handler_id);
979 public bool send_event (owned Gst.Event event);
980 public void set_acceptcaps_function (Gst.PadAcceptCapsFunction acceptcaps);
981 public void set_activate_function (Gst.PadActivateFunction activate);
982 public void set_activatepull_function (Gst.PadActivateModeFunction activatepull);
983 public void set_activatepush_function (Gst.PadActivateModeFunction activatepush);
984 public bool set_active (bool active);
985 public bool set_blocked (bool blocked);
986 [CCode (cname = "gst_pad_set_blocked_async_full")]
987 public bool set_blocked_async (bool blocked, owned Gst.PadBlockCallback callback);
988 public void set_bufferalloc_function (Gst.PadBufferAllocFunction bufalloc);
989 public bool set_caps (Gst.Caps? caps);
990 public void set_chain_function (Gst.PadChainFunction chain);
991 public void set_chain_list_function (Gst.PadChainListFunction chainlist);
992 public void set_checkgetrange_function (Gst.PadCheckGetRangeFunction check);
993 public void set_element_private (void* priv);
994 public void set_event_function (Gst.PadEventFunction event);
995 public void set_fixatecaps_function (Gst.PadFixateCapsFunction fixatecaps);
996 public void set_getcaps_function (Gst.PadGetCapsFunction getcaps);
997 public void set_getrange_function (Gst.PadGetRangeFunction @get);
998 [Deprecated (replacement = "Gst.Pad.set_iterate_internal_links_function")]
999 public void set_internal_link_function (Gst.PadIntLinkFunction intlink);
1000 public void set_iterate_internal_links_function (Gst.PadIterIntLinkFunction iterintlink);
1001 public void set_link_function (Gst.PadLinkFunction link);
1002 public void set_query_function (Gst.PadQueryFunction query);
1003 public void set_setcaps_function (Gst.PadSetCapsFunction setcaps);
1004 public void set_unlink_function (Gst.PadUnlinkFunction unlink);
1005 public bool start_task (Gst.TaskFunction func);
1006 public bool stop_task ();
1007 [CCode (cname = "GST_PAD_STREAM_LOCK")]
1008 public void stream_lock ();
1009 [CCode (cname = "GST_PAD_STREAM_UNLOCK")]
1010 public void stream_unlock ();
1011 public bool unlink (Gst.Pad sinkpad);
1012 public void use_fixed_caps ();
1014 public Gst.Caps caps { owned get; }
1015 public Gst.PadDirection direction { get; construct; }
1017 public Gst.PadTemplate template { owned get; set; }
1018 public virtual signal bool have_data (Gst.MiniObject data);
1019 public virtual signal void linked (Gst.Pad peer);
1020 public virtual signal void request_link ();
1021 public virtual signal void unlinked (Gst.Pad peer);
1023 [CCode (cheader_filename = "gst/gst.h")]
1024 public class PadTemplate : Gst.Object {
1025 [CCode (has_construct_function = false)]
1026 public PadTemplate (string name_template, Gst.PadDirection direction, Gst.PadPresence presence, owned Gst.Caps caps);
1027 public unowned Gst.Caps get_caps ();
1028 public Gst.Caps caps { get; construct; }
1030 public Gst.PadDirection direction { get; construct; }
1032 public string name_template { owned get; construct; }
1034 public Gst.PadPresence presence { get; construct; }
1036 public virtual signal void pad_created (Gst.Pad pad);
1038 [CCode (cheader_filename = "gst/gst.h")]
1039 public class ParamSpecFraction : GLib.ParamSpec {
1047 [CCode (cheader_filename = "gst/gst.h")]
1048 public class ParamSpecMiniObject : GLib.ParamSpec {
1050 [CCode (cheader_filename = "gst/gst.h", type_id = "gst_parse_context_get_type ()")]
1052 public class ParseContext {
1053 [CCode (has_construct_function = false)]
1054 public ParseContext ();
1055 [CCode (array_length = false, array_null_terminated = true)]
1056 public string[] get_missing_elements ();
1058 [CCode (cheader_filename = "gst/gst.h")]
1059 public class Pipeline : Gst.Bin, Gst.ChildProxy {
1060 [CCode (has_construct_function = false, type = "GstElement*")]
1061 public Pipeline (string? name);
1062 public void auto_clock ();
1063 public bool get_auto_flush_bus ();
1064 public Gst.Bus get_bus ();
1065 public Gst.Clock? get_clock ();
1066 public Gst.ClockTime get_delay ();
1067 [Deprecated (replacement = "Gst.Element.get_start_time")]
1068 public Gst.ClockTime get_last_stream_time ();
1069 public void set_auto_flush_bus (bool auto_flush);
1070 public bool set_clock (Gst.Clock? clock);
1071 public void set_delay (Gst.ClockTime delay);
1072 [Deprecated (replacement = "Gst.Element.set_start_time")]
1073 public void set_new_stream_time (Gst.ClockTime time);
1074 public void use_clock (Gst.Clock? clock);
1075 public bool auto_flush_bus { get; set; }
1076 public uint64 delay { get; set; }
1078 [CCode (cheader_filename = "gst/gst.h")]
1079 public class Plugin : Gst.Object {
1080 [CCode (has_construct_function = false)]
1081 protected Plugin ();
1082 public void add_dependency ([CCode (array_length = false, array_null_terminated = true)] string?[] env_vars, [CCode (array_length = false, array_null_terminated = true)] string?[] paths, [CCode (array_length = false, array_null_terminated = true)] string?[] names, Gst.PluginDependencyFlags flags);
1083 public void add_dependency_simple (string? env_vars, string? paths, string? names, Gst.PluginDependencyFlags flags);
1084 public static GLib.Quark error_quark ();
1085 public unowned Gst.Structure get_cache_data ();
1086 public unowned string get_description ();
1087 public unowned string get_filename ();
1088 public unowned string get_license ();
1089 public unowned GLib.Module get_module ();
1090 public unowned string get_name ();
1091 public unowned string get_origin ();
1092 public unowned string get_package ();
1093 public unowned string get_source ();
1094 public unowned string get_version ();
1095 public bool is_loaded ();
1096 public Gst.Plugin? load ();
1097 public static Gst.Plugin? load_by_name (string name);
1098 public static Gst.Plugin? load_file (string filename) throws GLib.Error;
1099 [CCode (instance_pos = -1)]
1100 public bool name_filter (Gst.Plugin plugin, string name);
1101 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);
1102 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);
1103 public void set_cache_data (owned Gst.Structure cache_data);
1105 [CCode (cheader_filename = "gst/gst.h")]
1106 public abstract class PluginFeature : Gst.Object {
1107 [CCode (has_construct_function = false)]
1108 protected PluginFeature ();
1109 public bool check_version (uint min_major, uint min_minor, uint min_micro);
1110 public unowned string get_name ();
1111 public uint get_rank ();
1112 public static void list_debug (GLib.List list);
1113 public Gst.PluginFeature? load ();
1114 public static int rank_compare_func (void* p1, void* p2);
1115 public void set_name (string name);
1116 public void set_rank (uint rank);
1117 [CCode (instance_pos = -1)]
1118 public bool type_name_filter (Gst.PluginFeature feature, Gst.TypeNameData data);
1120 [CCode (cheader_filename = "gst/gst.h")]
1123 [CCode (has_construct_function = false)]
1124 public Poll (bool controllable);
1125 public bool add_fd (Gst.PollFD fd);
1126 public void get_read_gpollfd (GLib.PollFD fd);
1127 public bool read_control ();
1128 public bool remove_fd (Gst.PollFD fd);
1129 public void restart ();
1130 public bool set_controllable (bool controllable);
1131 public void set_flushing (bool flushing);
1132 [CCode (has_construct_function = false)]
1133 public Poll.timer ();
1134 public int wait (Gst.ClockTime timeout);
1135 public bool write_control ();
1137 [CCode (cheader_filename = "gst/gst.h")]
1138 public class ProxyPad : Gst.Pad {
1139 [CCode (has_construct_function = false)]
1140 protected ProxyPad ();
1141 public static bool acceptcaps_default (Gst.Pad pad, Gst.Caps caps);
1142 public static Gst.FlowReturn bufferalloc_default (Gst.Pad pad, uint64 offset, uint size, Gst.Caps caps, out unowned Gst.Buffer buf);
1143 public static Gst.FlowReturn chain_default (Gst.Pad pad, Gst.Buffer buffer);
1144 public static Gst.FlowReturn chain_list_default (Gst.Pad pad, Gst.BufferList list);
1145 public static bool checkgetrange_default (Gst.Pad pad);
1146 public static bool event_default (Gst.Pad pad, Gst.Event event);
1147 public static void fixatecaps_default (Gst.Pad pad, Gst.Caps caps);
1148 public unowned Gst.ProxyPad get_internal ();
1149 public static unowned Gst.Caps getcaps_default (Gst.Pad pad);
1150 public static Gst.FlowReturn getrange_default (Gst.Pad pad, uint64 offset, uint size, out unowned Gst.Buffer buffer);
1151 public static unowned Gst.Iterator iterate_internal_links_default (Gst.Pad pad);
1152 public static bool query_default (Gst.Pad pad, Gst.Query query);
1153 public static Gst.QueryType query_type_default (Gst.Pad pad);
1154 public static bool setcaps_default (Gst.Pad pad, Gst.Caps caps);
1155 public static void unlink_default (Gst.Pad pad);
1157 [CCode (cheader_filename = "gst/gst.h", ref_function = "gst_query_ref", unref_function = "gst_query_unref")]
1158 public class Query : Gst.MiniObject {
1159 public weak Gst.Structure structure;
1160 public Gst.QueryType type;
1161 public bool add_buffering_range (int64 start, int64 stop);
1162 [CCode (has_construct_function = false)]
1163 public Query.application (Gst.QueryType type, owned Gst.Structure structure);
1164 [CCode (has_construct_function = false)]
1165 public Query.buffering (Gst.Format format);
1166 [CCode (has_construct_function = false)]
1167 public Query.convert (Gst.Format src_format, int64 value, Gst.Format dest_format);
1168 public Gst.Query copy ();
1169 [CCode (has_construct_function = false)]
1170 public Query.duration (Gst.Format format);
1171 [CCode (has_construct_function = false)]
1172 public Query.formats ();
1173 public uint get_n_buffering_ranges ();
1174 public unowned Gst.Structure get_structure ();
1175 [CCode (has_construct_function = false)]
1176 public Query.latency ();
1177 [ReturnsModifiedPointer]
1178 public void make_writable ();
1179 public void parse_buffering_percent (out bool busy, out int percent);
1180 public void parse_buffering_range (out Gst.Format format, out int64 start, out int64 stop, out int64 estimated_total);
1181 public void parse_buffering_stats (out Gst.BufferingMode mode, out int avg_in, out int avg_out, out int64 buffering_left);
1182 public void parse_convert (out Gst.Format src_format, out int64 src_value, out Gst.Format dest_format, out int64 dest_value);
1183 public void parse_duration (out Gst.Format format, out int64 duration);
1184 public void parse_formats_length (out uint n_formats);
1185 public void parse_formats_nth (uint nth, out Gst.Format format);
1186 public void parse_latency (out bool live, out Gst.ClockTime min_latency, out Gst.ClockTime max_latency);
1187 public bool parse_nth_buffering_range (uint index, int64 start, int64 stop);
1188 public void parse_position (out Gst.Format format, out int64 cur);
1189 public void parse_seeking (out Gst.Format format, out bool seekable, out int64 segment_start, out int64 segment_end);
1190 public void parse_segment (out double rate, out Gst.Format format, out int64 start_value, out int64 stop_value);
1191 public void parse_uri (out string uri);
1192 [CCode (has_construct_function = false)]
1193 public Query.position (Gst.Format format);
1194 public unowned Gst.Query @ref ();
1195 [CCode (has_construct_function = false)]
1196 public Query.seeking (Gst.Format format);
1197 [CCode (has_construct_function = false)]
1198 public Query.segment (Gst.Format format);
1199 public void set_buffering_percent (bool busy, int percent);
1200 public void set_buffering_range (Gst.Format format, int64 start, int64 stop, int64 estimated_total);
1201 public void set_buffering_stats (Gst.BufferingMode mode, int avg_in, int avg_out, int64 buffering_left);
1202 public void set_convert (Gst.Format src_format, int64 src_value, Gst.Format dest_format, int64 dest_value);
1203 public void set_duration (Gst.Format format, int64 duration);
1204 public void set_formats (int n_formats, ...);
1205 public void set_formatsv ([CCode (array_length_pos = 0.9)] Gst.Format[] formats);
1206 public void set_latency (bool live, Gst.ClockTime min_latency, Gst.ClockTime max_latency);
1207 public void set_position (Gst.Format format, int64 cur);
1208 public void set_seeking (Gst.Format format, bool seekable, int64 segment_start, int64 segment_end);
1209 public void set_segment (double rate, Gst.Format format, int64 start_value, int64 stop_value);
1210 public void set_uri (string uri);
1211 public static bool types_contains (Gst.QueryType types, Gst.QueryType type);
1212 public void unref ();
1213 [CCode (has_construct_function = false)]
1214 public Query.uri ();
1216 [CCode (cheader_filename = "gst/gst.h")]
1217 public class Registry : Gst.Object {
1218 [CCode (has_construct_function = false)]
1219 protected Registry ();
1220 public bool add_feature (owned Gst.PluginFeature feature);
1221 public void add_path (string path);
1222 public bool add_plugin (owned Gst.Plugin plugin);
1223 public GLib.List<Gst.PluginFeature> feature_filter ([CCode (delegate_target_pos = 2.1)] Gst.PluginFeatureFilter filter, bool first);
1224 public Gst.PluginFeature? find_feature (string name, GLib.Type type);
1225 public Gst.Plugin? find_plugin (string name);
1226 public static bool fork_is_enabled ();
1227 public static void fork_set_enabled (bool enabled);
1228 public static unowned Gst.Registry get_default ();
1229 public GLib.List<Gst.PluginFeature> get_feature_list (GLib.Type type);
1230 public GLib.List<Gst.PluginFeature> get_feature_list_by_plugin (string name);
1231 public uint32 get_feature_list_cookie ();
1232 public GLib.List<string> get_path_list ();
1233 public GLib.List<Gst.Plugin> get_plugin_list ();
1234 public Gst.Plugin? lookup (string filename);
1235 public Gst.PluginFeature? lookup_feature (string name);
1236 public GLib.List<Gst.Plugin> plugin_filter (Gst.PluginFilter filter, bool first);
1237 public void remove_feature (Gst.PluginFeature feature);
1238 public void remove_plugin (Gst.Plugin plugin);
1239 public bool scan_path (string path);
1240 public bool xml_read_cache (string location);
1241 public bool xml_write_cache (string location);
1242 public virtual signal void feature_added (void* feature);
1243 public virtual signal void plugin_added (void* plugin);
1245 [CCode (cheader_filename = "gst/gst.h", copy_function = "gst_segment_copy", type_id = "gst_segment_get_type ()")]
1247 public class Segment {
1248 public double abs_rate;
1250 public double applied_rate;
1251 public int64 duration;
1252 public Gst.SeekFlags flags;
1253 public Gst.Format format;
1254 public int64 last_stop;
1259 [CCode (has_construct_function = false)]
1261 public bool clip (Gst.Format format, int64 start, int64 stop, out int64 clip_start, out int64 clip_stop);
1262 public Gst.Segment copy ();
1263 public void init (Gst.Format format);
1264 public void set_duration (Gst.Format format, int64 duration);
1265 public void set_last_stop (Gst.Format format, int64 position);
1266 public void set_newsegment (bool update, double rate, Gst.Format format, int64 start, int64 stop, int64 time);
1267 public void set_newsegment_full (bool update, double rate, double applied_rate, Gst.Format format, int64 start, int64 stop, int64 time);
1268 public bool set_running_time (Gst.Format format, int64 running_time);
1269 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);
1270 public int64 to_position (Gst.Format format, int64 running_time);
1271 public int64 to_running_time (Gst.Format format, int64 position);
1272 public int64 to_stream_time (Gst.Format format, int64 position);
1274 [CCode (cheader_filename = "gst/gst.h", copy_function = "gst_structure_copy", type_id = "GST_TYPE_STRUCTURE")]
1277 public class Structure {
1278 [CCode (has_construct_function = false)]
1279 public Structure (string name, string firstfield, ...);
1280 public bool can_intersect (Gst.Structure struct2);
1281 public Gst.Structure copy ();
1282 [CCode (cname = "gst_structure_empty_new", has_construct_function = false)]
1283 public Structure.empty (string name);
1284 public bool fixate_field_boolean (string field_name, bool target);
1285 public bool fixate_field_nearest_double (string field_name, double target);
1286 public bool fixate_field_nearest_fraction (string field_name, int target_numerator, int target_denominator);
1287 public bool fixate_field_nearest_int (string field_name, int target);
1288 public bool fixate_field_string (string field_name, string target);
1289 public bool @foreach (Gst.StructureForeachFunc func);
1290 public static Gst.Structure? from_string (string str, out unowned string end);
1291 public bool @get (...);
1292 public bool get_boolean (string fieldname, out bool value);
1293 public bool get_clock_time (string fieldname, out Gst.ClockTime value);
1294 public bool get_date (string fieldname, out GLib.Date value);
1295 public bool get_date_time (string fieldname, out unowned Gst.DateTime value);
1296 public bool get_double (string fieldname, out double value);
1297 public bool get_enum (string fieldname, GLib.Type enumtype, out int value);
1298 public GLib.Type get_field_type (string fieldname);
1299 public bool get_fourcc (string fieldname, out uint32 value);
1300 public bool get_fraction (string fieldname, out int value_numerator, out int value_denominator);
1301 public bool get_int (string fieldname, out int value);
1302 public unowned string get_name ();
1303 public GLib.Quark get_name_id ();
1304 public unowned string? get_string (string fieldname);
1305 public bool get_uint (string fieldname, out uint value);
1306 public bool get_valist (string first_fieldname, va_list args);
1307 public unowned Gst.Value? get_value (string fieldname);
1308 public bool has_field (string fieldname);
1309 public bool has_field_typed (string fieldname, GLib.Type type);
1310 public bool has_name (string name);
1311 [CCode (cname = "gst_structure_id_new", has_construct_function = false)]
1312 public Structure.id (GLib.Quark quark, GLib.Quark field_quark, ...);
1313 [CCode (cname = "gst_structure_id_empty_new", has_construct_function = false)]
1314 public Structure.id_empty (GLib.Quark quark);
1315 public bool id_get (...);
1316 public bool id_get_valist (GLib.Quark first_field_id, va_list args);
1317 public unowned Gst.Value? id_get_value (GLib.Quark field);
1318 public bool id_has_field (GLib.Quark field);
1319 public bool id_has_field_typed (GLib.Quark field, GLib.Type type);
1320 public void id_set (GLib.Quark fieldname, ...);
1321 public void id_set_valist (GLib.Quark fieldname, va_list varargs);
1322 public void id_set_value (GLib.Quark field, GLib.Value value);
1323 public void id_take_value (GLib.Quark field, GLib.Value value);
1324 public unowned Gst.Structure intersect (Gst.Structure struct2);
1325 public bool is_equal (Gst.Structure structure2);
1326 public bool is_subset (Gst.Structure superset);
1327 public bool map_in_place (Gst.StructureMapFunc func);
1328 public int n_fields ();
1329 public unowned string nth_field_name (uint index);
1330 public void remove_all_fields ();
1331 public void remove_field (string fieldname);
1332 public void remove_fields (string fieldname, ...);
1333 public void remove_fields_valist (string fieldname, va_list varargs);
1334 public void @set (string fieldname, ...);
1335 public void set_name (string name);
1336 public void set_parent_refcount (ref int refcount);
1337 public void set_valist (string fieldname, va_list varargs);
1338 public void set_value (string fieldname, GLib.Value value);
1339 public void take_value (string fieldname, GLib.Value value);
1340 public string to_string ();
1341 [CCode (has_construct_function = false)]
1342 public Structure.valist (string name, string firstfield, va_list varargs);
1344 [CCode (cheader_filename = "gst/gst.h")]
1345 public class SystemClock : Gst.Clock {
1346 [CCode (has_construct_function = false)]
1347 protected SystemClock ();
1348 public static Gst.Clock obtain ();
1350 public Gst.ClockType clock_type { get; set; }
1352 [CCode (cheader_filename = "gst/gst.h", copy_function = "gst_tag_list_copy")]
1354 public class TagList {
1355 [CCode (has_construct_function = false)]
1357 public void add (Gst.TagMergeMode mode, string tag, ...);
1358 public void add_valist (Gst.TagMergeMode mode, string tag, void* var_args);
1359 public void add_valist_values (Gst.TagMergeMode mode, string tag, void* var_args);
1360 public void add_value (Gst.TagMergeMode mode, string tag, GLib.Value value);
1361 public void add_values (Gst.TagMergeMode mode, string tag, ...);
1362 public Gst.TagList copy ();
1363 public static bool copy_value (out Gst.Value dest, Gst.TagList list, string tag);
1364 public void @foreach (Gst.TagForeachFunc func);
1365 [CCode (has_construct_function = false)]
1366 public TagList.full (string tag);
1367 [CCode (has_construct_function = false)]
1368 public TagList.full_valist (void* var_args);
1369 public bool get_boolean (string tag, out bool value);
1370 public bool get_boolean_index (string tag, uint index, out bool value);
1371 public bool get_buffer (string tag, out unowned Gst.Buffer value);
1372 public bool get_buffer_index (string tag, uint index, out unowned Gst.Buffer value);
1373 public bool get_char (string tag, out char value);
1374 public bool get_char_index (string tag, uint index, out char value);
1375 public bool get_date (string tag, out GLib.Date? value);
1376 public bool get_date_index (string tag, uint index, out GLib.Date? value);
1377 public bool get_date_time (string tag, out unowned Gst.DateTime value);
1378 public bool get_date_time_index (string tag, uint index, out unowned Gst.DateTime value);
1379 public bool get_double (string tag, out double value);
1380 public bool get_double_index (string tag, uint index, out double value);
1381 public bool get_float (string tag, out float value);
1382 public bool get_float_index (string tag, uint index, out float value);
1383 public bool get_int (string tag, out int value);
1384 public bool get_int64 (string tag, out int64 value);
1385 public bool get_int64_index (string tag, uint index, out int64 value);
1386 public bool get_int_index (string tag, uint index, out int value);
1387 public bool get_long (string tag, out long value);
1388 public bool get_long_index (string tag, uint index, out long value);
1389 public bool get_pointer (string tag, out void* value);
1390 public bool get_pointer_index (string tag, uint index, out void* value);
1391 public bool get_string (string tag, out string value);
1392 public bool get_string_index (string tag, uint index, out string value);
1393 public uint get_tag_size (string tag);
1394 public bool get_uchar (string tag, out uchar value);
1395 public bool get_uchar_index (string tag, uint index, out uchar value);
1396 public bool get_uint (string tag, out uint value);
1397 public bool get_uint64 (string tag, out uint64 value);
1398 public bool get_uint64_index (string tag, uint index, out uint64 value);
1399 public bool get_uint_index (string tag, uint index, out uint value);
1400 public bool get_ulong (string tag, out ulong value);
1401 public bool get_ulong_index (string tag, uint index, out ulong value);
1402 public unowned Gst.Value? get_value_index (string tag, uint index);
1403 public void insert (Gst.TagList from, Gst.TagMergeMode mode);
1404 public bool is_empty ();
1405 public Gst.TagList merge (Gst.TagList list2, Gst.TagMergeMode mode);
1406 public bool peek_string_index (string tag, uint index, string value);
1407 public void remove_tag (string tag);
1409 [CCode (cheader_filename = "gst/gst.h")]
1410 public class Task : Gst.Object {
1411 public void* abidata;
1412 public weak GLib.Cond cond;
1414 public weak Gst.TaskFunction func;
1415 public GLib.StaticRecMutex @lock;
1416 public bool running;
1417 public Gst.TaskState state;
1418 [CCode (has_construct_function = false)]
1420 public static void cleanup_all ();
1421 public static unowned Gst.Task create (Gst.TaskFunction func, void* data);
1422 public unowned Gst.TaskPool get_pool ();
1423 public Gst.TaskState get_state ();
1424 public bool join ();
1425 public bool pause ();
1426 public void set_lock (GLib.StaticRecMutex mutex);
1427 public void set_pool (Gst.TaskPool pool);
1428 public void set_priority (GLib.ThreadPriority priority);
1429 public bool set_state (Gst.TaskState state);
1430 public void set_thread_callbacks (Gst.TaskThreadCallbacks callbacks, GLib.DestroyNotify notify);
1431 public bool start ();
1432 public bool stop ();
1434 [CCode (cheader_filename = "gst/gst.h")]
1435 public class TaskPool : Gst.Object {
1436 public weak GLib.ThreadPool pool;
1437 [CCode (has_construct_function = false)]
1439 public virtual void cleanup ();
1440 public virtual void join (void* id);
1441 public virtual void prepare () throws GLib.Error;
1442 public virtual void* push (Gst.TaskPoolFunction func) throws GLib.Error;
1444 [CCode (cheader_filename = "gst/gst.h")]
1446 public class TaskThreadCallbacks {
1447 public weak GLib.Callback enter_thread;
1448 public weak GLib.Callback leave_thread;
1450 [CCode (cheader_filename = "gst/gst.h", free_function = "gst_trace_destroy")]
1452 public class Trace {
1453 public weak Gst.TraceEntry buf;
1454 public int bufoffset;
1457 public weak string filename;
1458 [CCode (has_construct_function = false)]
1459 public Trace (string filename, int size);
1460 public void flush ();
1461 public static void read_tsc (int64 dst);
1462 public void set_default ();
1463 public void text_flush ();
1465 [CCode (cheader_filename = "gst/gst.h")]
1467 public class TraceEntry {
1469 [CCode (array_length = false)]
1470 public weak char[] message;
1471 public uint32 sequence;
1472 public int64 timestamp;
1474 [CCode (cheader_filename = "gst/gst.h")]
1476 public class TypeFind {
1478 [CCode (cname = "gst_type_find_get_length")]
1479 public uint64 get_length ();
1480 [CCode (cname = "gst_type_find_peek")]
1481 public uchar peek (int64 offset, uint size);
1482 [CCode (cname = "gst_type_find_register")]
1483 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);
1484 [CCode (cname = "gst_type_find_suggest")]
1485 public void suggest (uint probability, Gst.Caps caps);
1486 [CCode (cname = "gst_type_find_suggest_simple")]
1487 public void suggest_simple (uint probability, string media_type, string fieldname);
1489 [CCode (cheader_filename = "gst/gst.h", type_id = "GST_TYPE_TYPE_FIND_FACTORY")]
1490 public class TypeFindFactory : Gst.PluginFeature {
1491 public weak Gst.Caps caps;
1492 public weak string extensions;
1493 public weak Gst.TypeFindFunction function;
1494 public void* user_data;
1495 public weak GLib.DestroyNotify user_data_notify;
1496 [CCode (has_construct_function = false)]
1497 protected TypeFindFactory ();
1498 [CCode (cname = "gst_type_find_factory_call_function")]
1499 public void call_function (Gst.TypeFind find);
1500 [CCode (cname = "gst_type_find_factory_get_caps")]
1501 public unowned Gst.Caps get_caps ();
1502 [CCode (cname = "gst_type_find_factory_get_extensions")]
1503 public unowned string get_extensions ();
1504 [CCode (cname = "gst_type_find_factory_get_list")]
1505 public static GLib.List<Gst.PluginFeature> get_list ();
1507 [CCode (cheader_filename = "gst/gst.h")]
1509 public class TypeNameData {
1510 public weak string name;
1511 public GLib.Type type;
1513 [CCode (cheader_filename = "gst/gst.h")]
1515 public class ValueTable {
1516 public weak Gst.ValueCompareFunc compare;
1517 public weak Gst.ValueDeserializeFunc deserialize;
1518 public weak Gst.ValueSerializeFunc serialize;
1519 public GLib.Type type;
1521 [CCode (cheader_filename = "gst/gst.h")]
1522 public class XML : Gst.Object {
1524 public weak GLib.List<Gst.Element> topelements;
1525 [CCode (has_construct_function = false)]
1528 public unowned Gst.Element get_element (string name);
1529 public unowned GLib.List<Gst.Element> get_topelements ();
1531 public static unowned Gst.Element make_element (void* cur, Gst.Object parent);
1533 public virtual void object_saved (Gst.Object object, void* self);
1534 public bool parse_doc (void* doc, string root);
1535 public bool parse_file (string fname, string root);
1537 public bool parse_memory (uchar[] buffer, uint size, string root);
1539 public static void* write (Gst.Element element);
1541 public static int write_file (Gst.Element element, GLib.FileStream @out);
1542 public virtual signal void object_loaded (Gst.Object object, void* self);
1544 [CCode (cheader_filename = "gst/gst.h")]
1545 public interface ChildProxy : Gst.Object {
1546 public void @get (string first_property_name, ...);
1547 public abstract Gst.Object? get_child_by_index (uint index);
1548 public Gst.Object? get_child_by_name (string name);
1549 public abstract uint get_children_count ();
1550 public void get_property (string name, ref Gst.Value value);
1551 public void get_valist (string first_property_name, void* var_args);
1552 public bool lookup (string name, out Gst.Object? target, out unowned GLib.ParamSpec? pspec);
1553 public void @set (string first_property_name, ...);
1554 public void set_property (string name, Gst.Value value);
1555 public void set_valist (string first_property_name, void* var_args);
1557 public signal void child_added (GLib.Object child);
1559 public signal void child_removed (GLib.Object child);
1561 [CCode (cheader_filename = "gst/gst.h")]
1562 public interface ImplementsInterface : Gst.Element {
1563 public unowned Gst.Element? cast (GLib.Type type);
1564 public bool check (GLib.Type type);
1566 public abstract bool supported (GLib.Type iface_type);
1568 [CCode (cheader_filename = "gst/gst.h")]
1569 public interface Preset {
1570 public abstract bool delete_preset (string name);
1571 public abstract bool get_meta (string name, string tag, out string value);
1572 [CCode (array_length = false, array_null_terminated = true)]
1573 public abstract string[] get_preset_names ();
1574 [CCode (array_length = false, array_null_terminated = true)]
1575 public abstract string[] get_property_names ();
1576 public abstract bool load_preset (string name);
1577 public abstract bool rename_preset (string old_name, string new_name);
1578 public abstract bool save_preset (string name);
1579 public abstract bool set_meta (string name, string tag, string value);
1581 [CCode (cheader_filename = "gst/gst.h")]
1582 public interface TagSetter : Gst.Element {
1583 public void add_tag_valist (Gst.TagMergeMode mode, string tag, void* var_args);
1584 public void add_tag_valist_values (Gst.TagMergeMode mode, string tag, void* var_args);
1585 public void add_tag_value (Gst.TagMergeMode mode, string tag, GLib.Value value);
1586 public void add_tag_values (Gst.TagMergeMode mode, string tag, ...);
1587 public void add_tags (Gst.TagMergeMode mode, string tag, ...);
1588 public unowned Gst.TagList get_tag_list ();
1589 public Gst.TagMergeMode get_tag_merge_mode ();
1590 public void merge_tags (Gst.TagList list, Gst.TagMergeMode mode);
1591 public void reset_tags ();
1592 public void set_tag_merge_mode (Gst.TagMergeMode mode);
1594 [CCode (cheader_filename = "gst/gst.h")]
1595 public interface URIHandler {
1596 public abstract unowned string[] get_protocols ();
1598 public abstract unowned string[] get_protocols_full (GLib.Type type);
1600 public abstract Gst.URIType get_type ();
1602 public abstract Gst.URIType get_type_full (GLib.Type type);
1603 public abstract unowned string get_uri ();
1604 public uint get_uri_type ();
1605 public abstract bool set_uri (string uri);
1607 public signal void new_uri (string uri);
1609 [CCode (cheader_filename = "gst/gst.h")]
1610 public struct Array {
1612 [CCode (cheader_filename = "gst/gst.h")]
1613 public struct ClockTime : uint64 {
1614 [CCode (cname = "GST_TIME_ARGS")]
1615 public unowned string args ();
1616 [CCode (cname = "GST_CLOCK_TIME_IS_VALID")]
1617 public bool is_valid ();
1619 [CCode (cheader_filename = "gst/gst.h")]
1620 public struct ClockTimeDiff : int64 {
1622 [CCode (cheader_filename = "gst/gst.h")]
1623 public struct DoubleRange {
1625 [CCode (cheader_filename = "gst/gst.h")]
1626 public struct ElementDetails {
1627 public weak string longname;
1628 public weak string klass;
1629 public weak string description;
1630 public weak string author;
1632 [CCode (cheader_filename = "gst/gst.h")]
1633 public struct ElementFactoryListType : uint64 {
1635 [CCode (cheader_filename = "gst/gst.h")]
1636 public struct FormatDefinition {
1637 public Gst.Format value;
1638 public weak string nick;
1639 public weak string description;
1640 public GLib.Quark quark;
1642 [CCode (cheader_filename = "gst/gst.h")]
1643 public struct Fraction {
1645 [CCode (cheader_filename = "gst/gst.h")]
1646 public struct FractionRange {
1648 [CCode (cheader_filename = "gst/gst.h")]
1649 public struct IndexAssociation {
1650 public Gst.Format format;
1653 [CCode (cheader_filename = "gst/gst.h")]
1654 public struct IntRange {
1656 [CCode (cheader_filename = "gst/gst.h")]
1657 public struct List {
1659 [CCode (cheader_filename = "gst/gst.h")]
1660 public struct PluginDesc {
1661 public int major_version;
1662 public int minor_version;
1663 public weak string name;
1664 public weak string description;
1665 public weak Gst.PluginInitFunc plugin_init;
1666 public weak string version;
1667 public weak string license;
1668 public weak string source;
1669 public weak string package;
1670 public weak string origin;
1671 public weak void*[] _gst_reserved;
1673 [CCode (cheader_filename = "gst/gst.h")]
1674 public struct PollFD {
1677 public static bool can_read (Gst.Poll @set, Gst.PollFD fd);
1678 public static bool can_write (Gst.Poll @set, Gst.PollFD fd);
1679 public static bool ctl_read (Gst.Poll @set, Gst.PollFD fd, bool active);
1680 public static bool ctl_write (Gst.Poll @set, Gst.PollFD fd, bool active);
1681 public static bool has_closed (Gst.Poll @set, Gst.PollFD fd);
1682 public static bool has_error (Gst.Poll @set, Gst.PollFD fd);
1683 public static void ignored (Gst.Poll @set, Gst.PollFD fd);
1684 public void init ();
1686 [CCode (cheader_filename = "gst/gst.h")]
1687 public struct QueryTypeDefinition {
1688 public weak string description;
1689 public weak string nick;
1690 public GLib.Quark quark;
1691 public Gst.QueryType value;
1693 [CCode (cheader_filename = "gst/gst.h")]
1694 public struct StaticCaps {
1695 [CCode (cname = "string")]
1696 public weak string str;
1697 public Gst.Caps @get ();
1699 [CCode (cheader_filename = "gst/gst.h")]
1700 public struct StaticPadTemplate {
1701 public weak string name_template;
1702 public Gst.PadDirection direction;
1703 public Gst.PadPresence presence;
1704 public Gst.StaticCaps static_caps;
1705 public Gst.PadTemplate @get ();
1706 public Gst.Caps get_caps ();
1708 [CCode (cheader_filename = "gst/gst.h", cname = "GValue", type_id = "G_TYPE_VALUE")]
1709 public struct Value : GLib.Value {
1710 public void array_append_value (Gst.Value append_value);
1711 public uint array_get_size ();
1712 public static GLib.Type array_get_type ();
1713 public unowned Gst.Value? array_get_value (uint index);
1714 public void array_prepend_value (Gst.Value prepend_value);
1715 public static bool can_compare (Gst.Value value1, Gst.Value value2);
1716 public static bool can_intersect (Gst.Value value1, Gst.Value value2);
1717 public static bool can_subtract (Gst.Value minuend, Gst.Value subtrahend);
1718 public static bool can_union (Gst.Value value1, Gst.Value value2);
1719 public static int compare (Gst.Value value1, Gst.Value value2);
1720 public bool deserialize (string src);
1721 public static bool fraction_multiply (GLib.Value product, GLib.Value factor1, GLib.Value factor2);
1722 public static bool fraction_subtract (GLib.Value dest, GLib.Value minuend, GLib.Value subtrahend);
1723 public unowned Gst.Buffer get_buffer ();
1724 public Gst.Caps get_caps ();
1725 public GLib.Date get_date ();
1726 public double get_double_range_max ();
1727 public double get_double_range_min ();
1728 public uint get_fourcc ();
1729 public int get_fraction_denominator ();
1730 public int get_fraction_numerator ();
1731 public unowned Gst.Value? get_fraction_range_max ();
1732 public unowned Gst.Value? get_fraction_range_min ();
1733 public int get_int_range_max ();
1734 public int get_int_range_min ();
1735 public unowned Gst.Structure get_structure ();
1736 public void init_and_copy (Gst.Value src);
1737 public static bool intersect (Gst.Value dest, Gst.Value value1, Gst.Value value2);
1738 public bool is_fixed ();
1739 public void list_append_value (Gst.Value append_value);
1740 public void list_concat (Gst.Value value1, Gst.Value value2);
1741 public uint list_get_size ();
1742 public static GLib.Type list_get_type ();
1743 public unowned Gst.Value? list_get_value (uint index);
1744 public void list_prepend_value (Gst.Value prepend_value);
1745 [CCode (cname = "GST_MAKE_FOURCC")]
1746 public static uint make_fourcc (char a, char b, char c, char d);
1747 public static void register (Gst.ValueTable table);
1748 public static void register_intersect_func (GLib.Type type1, GLib.Type type2, Gst.ValueIntersectFunc func);
1749 public static void register_subtract_func (GLib.Type minuend_type, GLib.Type subtrahend_type, Gst.ValueSubtractFunc func);
1750 public static void register_union_func (GLib.Type type1, GLib.Type type2, Gst.ValueUnionFunc func);
1751 public string serialize ();
1752 public void set_buffer (Gst.Buffer b);
1753 public void set_caps (Gst.Caps caps);
1754 public void set_date (GLib.Date date);
1755 public void set_double_range (double start, double end);
1756 public void set_fourcc (uint fourcc);
1757 public void set_fraction (int numerator, int denominator);
1758 public void set_fraction_range (Gst.Value start, Gst.Value end);
1759 public void set_fraction_range_full (int numerator_start, int denominator_start, int numerator_end, int denominator_end);
1760 public void set_int_range (int start, int end);
1761 public void set_structure (Gst.Structure structure);
1762 [CCode (cname = "GST_STR_FOURCC")]
1763 public static uint str_fourcc (string str);
1764 public static bool subtract (Gst.Value dest, Gst.Value minuend, Gst.Value subtrahend);
1765 public void take_buffer (Gst.Buffer b);
1766 public static bool union (Gst.Value dest, Gst.Value value1, Gst.Value value2);
1768 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ACTIVATE_")]
1769 public enum ActivateMode {
1774 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ALLOC_TRACE_")]
1776 public enum AllocTraceFlags {
1780 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ASSOCIATION_FLAG_")]
1782 public enum AssocFlags {
1788 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BIN_FLAG_")]
1790 public enum BinFlags {
1793 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFER_COPY_")]
1795 public enum BufferCopyFlags {
1800 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFER_FLAG_")]
1802 public enum BufferFlag {
1815 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFER_LIST_")]
1816 public enum BufferListItem {
1821 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUFFERING_")]
1822 public enum BufferingMode {
1828 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUS_")]
1830 public enum BusFlags {
1834 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_BUS_")]
1835 public enum BusSyncReply {
1840 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CAPS_FLAGS_")]
1842 public enum CapsFlags {
1845 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CAPS_INTERSECT_")]
1846 public enum CapsIntersectMode {
1850 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CLOCK_ENTRY_")]
1851 public enum ClockEntryType {
1855 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CLOCK_FLAG_")]
1857 public enum ClockFlags {
1859 CAN_DO_SINGLE_ASYNC,
1860 CAN_DO_PERIODIC_SYNC,
1861 CAN_DO_PERIODIC_ASYNC,
1866 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CLOCK_")]
1867 public enum ClockReturn {
1877 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CLOCK_TYPE_")]
1878 public enum ClockType {
1882 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_DEBUG_")]
1883 public enum DebugColorFlags {
1903 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_DEBUG_GRAPH_SHOW_")]
1905 public enum DebugGraphDetails {
1912 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_LEVEL_")]
1913 public enum DebugLevel {
1924 [CCode (cname = "gst_debug_level_get_name")]
1925 public unowned string to_string ();
1927 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ELEMENT_")]
1929 public enum ElementFlags {
1936 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_EVENT_")]
1937 public enum EventType {
1953 CUSTOM_DOWNSTREAM_OOB,
1956 [CCode (cname = "gst_event_type_get_flags")]
1957 public Gst.EventTypeFlags get_flags ();
1958 [CCode (cname = "gst_event_type_to_quark")]
1959 public GLib.Quark to_quark ();
1960 [CCode (cname = "gst_event_type_get_name")]
1961 public unowned string get_name ();
1962 [CCode (cname = "gst_event_type_get_name")]
1963 public unowned string to_string ();
1965 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_EVENT_TYPE_")]
1967 public enum EventTypeFlags {
1972 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_FLOW_")]
1973 public enum FlowReturn {
1988 [CCode (cname = "GST_FLOW_IS_FATAL")]
1989 public bool is_fatal ();
1990 [CCode (cname = "GST_FLOW_IS_SUCCESS")]
1991 public bool is_success ();
1992 [CCode (cname = "gst_flow_get_name")]
1993 public unowned string to_string ();
1995 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_FORMAT_")]
1996 public enum Format {
2003 [CCode (cname = "gst_format_get_details")]
2004 public Gst.FormatDefinition get_details ();
2005 [CCode (cname = "gst_format_to_quark")]
2006 public GLib.Quark to_quark ();
2007 [CCode (cname = "gst_format_get_name")]
2008 public unowned string get_name ();
2009 [CCode (cname = "gst_format_get_name")]
2010 public unowned string to_string ();
2011 [CCode (cname = "GST_FORMAT_PERCENT_MAX")]
2012 public const int64 PERCENT_MAX;
2013 [CCode (cname = "GST_FORMAT_PERCENT_SCALE")]
2014 public const int64 PERCENT_SCALE;
2016 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_INDEX_")]
2017 public enum IndexCertainty {
2022 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_INDEX_ENTRY_")]
2023 public enum IndexEntryType {
2029 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_INDEX_")]
2031 public enum IndexFlags {
2036 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_INDEX_LOOKUP_")]
2037 public enum IndexLookupMethod {
2042 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_INDEX_RESOLVER_")]
2043 public enum IndexResolverMethod {
2048 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ITERATOR_ITEM_")]
2049 public enum IteratorItem {
2054 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_ITERATOR_")]
2055 public enum IteratorResult {
2061 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_LIBRARY_ERROR_")]
2062 public enum LibraryError {
2071 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_MESSAGE_")]
2073 public enum MessageType {
2102 public GLib.Quark to_quark ();
2103 public unowned string get_name ();
2104 [CCode (cname = "gst_message_type_get_name")]
2105 public unowned string to_string ();
2107 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_MINI_OBJECT_FLAG_")]
2109 public enum MiniObjectFlags {
2114 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_OBJECT_")]
2116 public enum ObjectFlags {
2121 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_")]
2122 public enum PadDirection {
2127 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_")]
2129 public enum PadFlags {
2137 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_LINK_CHECK_")]
2139 public enum PadLinkCheck {
2145 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_LINK_")]
2146 public enum PadLinkReturn {
2154 [CCode (cname = "GST_PAD_LINK_FAILED")]
2155 public bool failed ();
2156 [CCode (cname = "GST_PAD_LINK_SUCCESSFUL")]
2157 public bool successful ();
2159 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_")]
2160 public enum PadPresence {
2165 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PAD_TEMPLATE_")]
2167 public enum PadTemplateFlags {
2171 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PARSE_ERROR_")]
2172 public enum ParseError {
2177 COULD_NOT_SET_PROPERTY,
2181 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PARSE_FLAG_")]
2183 public enum ParseFlags {
2187 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PIPELINE_FLAG_")]
2189 public enum PipelineFlags {
2193 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_DEPENDENCY_FLAG_")]
2195 public enum PluginDependencyFlags {
2198 PATHS_ARE_DEFAULT_ONLY,
2201 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_ERROR_")]
2202 public enum PluginError {
2207 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PLUGIN_FLAG_")]
2209 public enum PluginFlags {
2213 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_PROGRESS_TYPE_")]
2214 public enum ProgressType {
2221 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_QOS_TYPE_")]
2222 public enum QOSType {
2227 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_QUERY_")]
2228 public enum QueryType {
2242 public GLib.Quark to_quark ();
2243 public unowned string get_name ();
2244 public Gst.QueryTypeDefinition get_details ();
2245 public static Gst.QueryType get_by_nick ();
2246 public static Gst.Iterator<Gst.QueryTypeDefinition> iterate_definitions ();
2247 public static Gst.QueryType register (string nick, string description);
2248 [CCode (cname = "gst_query_type_get_name")]
2249 public unowned string to_string ();
2251 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_RANK_")]
2258 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_RESOURCE_ERROR_")]
2259 public enum ResourceError {
2276 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_SEARCH_MODE_")]
2277 public enum SearchMode {
2282 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_SEEK_FLAG_")]
2284 public enum SeekFlags {
2292 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_SEEK_TYPE_")]
2293 public enum SeekType {
2299 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_")]
2306 [CCode (cname = "GST_STATE_GET_NEXT")]
2307 public Gst.State get_next (Gst.State pending);
2308 [CCode (cname = "gst_element_state_get_name")]
2309 public unowned string to_string ();
2311 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_CHANGE_")]
2312 public enum StateChange {
2319 [CCode (cname = "GST_STATE_TRANSITION")]
2320 public static Gst.StateChange transition (Gst.State cur, Gst.State next);
2321 [CCode (cname = "GST_STATE_TRANSITION_CURRENT")]
2322 public Gst.State transition_current ();
2323 [CCode (cname = "GST_STATE_TRANSITION_NEXT")]
2324 public Gst.State transition_next ();
2326 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STATE_CHANGE_")]
2327 public enum StateChangeReturn {
2332 [CCode (cname = "gst_element_state_change_return_get_name")]
2333 public unowned string to_string ();
2335 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_ERROR_")]
2336 public enum StreamError {
2352 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STREAM_STATUS_TYPE_")]
2353 public enum StreamStatusType {
2362 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_STRUCTURE_CHANGE_TYPE_PAD_")]
2363 public enum StructureChangeType {
2367 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TAG_FLAG_")]
2368 public enum TagFlag {
2375 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TAG_MERGE_")]
2376 public enum TagMergeMode {
2386 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TASK_")]
2387 public enum TaskState {
2392 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_TYPE_FIND_")]
2393 public enum TypeFindProbability {
2400 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_URI_")]
2401 public enum URIType {
2406 [CCode (cheader_filename = "gst/gst.h", cprefix = "GST_CORE_ERROR_")]
2407 public errordomain CoreError {
2424 [CCode (cheader_filename = "gst/gst.h")]
2425 public delegate unowned Gst.Buffer BufferListDoFunction (Gst.Buffer buffer);
2426 [CCode (cheader_filename = "gst/gst.h")]
2427 public delegate Gst.BufferListItem BufferListFunc (out unowned Gst.Buffer buffer, uint group, uint idx);
2428 [CCode (cheader_filename = "gst/gst.h", cname = "GCallback")]
2429 public delegate bool BufferProbeCallback (Gst.Pad pad, Gst.Buffer buffer);
2430 [CCode (cheader_filename = "gst/gst.h")]
2431 public delegate bool BusFunc (Gst.Bus bus, Gst.Message message);
2432 [CCode (cheader_filename = "gst/gst.h")]
2433 public delegate Gst.BusSyncReply BusSyncHandler (Gst.Bus bus, Gst.Message message);
2434 [CCode (cheader_filename = "gst/gst.h")]
2435 public delegate bool ClockCallback (Gst.Clock clock, Gst.ClockTime time, Gst.ClockID id);
2436 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2437 public delegate void* CopyFunction (void* object);
2438 [CCode (cheader_filename = "gst/gst.h", cname = "GCallback")]
2439 public delegate bool DataProbeCallback (Gst.Pad pad, Gst.MiniObject data);
2440 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2441 public delegate void DebugFuncPtr ();
2442 [CCode (cheader_filename = "gst/gst.h", cname = "GCallback")]
2443 public delegate bool EventProbeCallback (Gst.Pad pad, Gst.Event event);
2444 [CCode (cheader_filename = "gst/gst.h")]
2445 public delegate bool FilterFunc (void* obj);
2446 [CCode (cheader_filename = "gst/gst.h")]
2447 public delegate bool IndexFilter (Gst.Index index, Gst.IndexEntry entry);
2448 [CCode (cheader_filename = "gst/gst.h")]
2449 public delegate bool IndexResolver (Gst.Index index, Gst.Object writer, string writer_string);
2450 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2451 public delegate void IteratorDisposeFunction (void* owner);
2452 [CCode (cheader_filename = "gst/gst.h")]
2453 public delegate bool IteratorFoldFunction<T> (T item, ref Gst.Value ret);
2454 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2455 public delegate void IteratorFreeFunction (Gst.Iterator it);
2456 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2457 public delegate Gst.IteratorItem IteratorItemFunction<T> (Gst.Iterator it, out T item);
2458 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2459 public delegate Gst.IteratorResult IteratorNextFunction<T> (Gst.Iterator it, out T result);
2460 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2461 public delegate void IteratorResyncFunction (Gst.Iterator it);
2462 [CCode (cheader_filename = "gst/gst.h")]
2463 public delegate void LogFunction (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, Gst.DebugMessage message);
2464 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2465 public delegate unowned Gst.MiniObject MiniObjectCopyFunction (Gst.MiniObject obj);
2466 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2467 public delegate void MiniObjectFinalizeFunction (Gst.MiniObject obj);
2468 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2469 public delegate void MiniObjectWeakNotify (void* data, Gst.MiniObject where_the_mini_object_was);
2470 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2471 public delegate bool PadAcceptCapsFunction (Gst.Pad pad, Gst.Caps caps);
2472 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2473 public delegate bool PadActivateFunction (Gst.Pad pad);
2474 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2475 public delegate bool PadActivateModeFunction (Gst.Pad pad, bool active);
2476 [CCode (cheader_filename = "gst/gst.h")]
2477 public delegate void PadBlockCallback (Gst.Pad pad, bool blocked);
2478 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2479 public delegate Gst.FlowReturn PadBufferAllocFunction (Gst.Pad pad, uint64 offset, uint size, Gst.Caps caps, out Gst.Buffer buf);
2480 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2481 public delegate Gst.FlowReturn PadChainFunction (Gst.Pad pad, owned Gst.Buffer buffer);
2482 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2483 public delegate Gst.FlowReturn PadChainListFunction (Gst.Pad pad, owned Gst.BufferList list);
2484 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2485 public delegate bool PadCheckGetRangeFunction (Gst.Pad pad);
2486 [CCode (cheader_filename = "gst/gst.h")]
2487 public delegate bool PadDispatcherFunction (Gst.Pad pad);
2488 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2489 public delegate bool PadEventFunction (Gst.Pad pad, owned Gst.Event event);
2490 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2491 public delegate void PadFixateCapsFunction (Gst.Pad pad, Gst.Caps caps);
2492 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2493 public delegate Gst.Caps PadGetCapsFunction (Gst.Pad pad);
2494 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2495 public delegate Gst.FlowReturn PadGetRangeFunction (Gst.Pad pad, uint64 offset, uint length, out Gst.Buffer buffer);
2496 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2497 public delegate GLib.List<Gst.Pad> PadIntLinkFunction (Gst.Pad pad);
2498 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2499 public delegate Gst.Iterator<Gst.Pad> PadIterIntLinkFunction (Gst.Pad pad);
2500 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2501 public delegate Gst.PadLinkReturn PadLinkFunction (Gst.Pad pad, Gst.Pad peer);
2502 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2503 public delegate bool PadQueryFunction (Gst.Pad pad, Gst.Query query);
2504 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2505 public delegate Gst.QueryType PadQueryTypeFunction (Gst.Pad pad);
2506 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2507 public delegate bool PadSetCapsFunction (Gst.Pad pad, Gst.Caps caps);
2508 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2509 public delegate void PadUnlinkFunction (Gst.Pad pad);
2510 [CCode (cheader_filename = "gst/gst.h")]
2511 public delegate bool PluginFeatureFilter (Gst.PluginFeature feature);
2512 [CCode (cheader_filename = "gst/gst.h")]
2513 public delegate bool PluginFilter (Gst.Plugin plugin);
2514 [CCode (cheader_filename = "gst/gst.h")]
2515 public delegate bool PluginInitFullFunc (Gst.Plugin plugin);
2516 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2517 public delegate bool PluginInitFunc (Gst.Plugin plugin);
2518 [CCode (cheader_filename = "gst/gst.h")]
2519 public delegate bool StructureForeachFunc (GLib.Quark field_id, Gst.Value value);
2520 [CCode (cheader_filename = "gst/gst.h")]
2521 public delegate bool StructureMapFunc (GLib.Quark field_id, ref Gst.Value value);
2522 [CCode (cheader_filename = "gst/gst.h")]
2523 public delegate void TagForeachFunc (Gst.TagList list, string tag);
2524 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2525 public delegate void TagMergeFunc (Gst.Value dest, Gst.Value src);
2526 [CCode (cheader_filename = "gst/gst.h")]
2527 public delegate void TaskFunction ();
2528 [CCode (cheader_filename = "gst/gst.h")]
2529 public delegate void TaskPoolFunction ();
2530 [CCode (cheader_filename = "gst/gst.h")]
2531 public delegate void TypeFindFunction (Gst.TypeFind find);
2532 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2533 public delegate int ValueCompareFunc (Gst.Value value1, Gst.Value value2);
2534 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2535 public delegate bool ValueDeserializeFunc (Gst.Value dest, string s);
2536 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2537 public delegate bool ValueIntersectFunc (Gst.Value dest, Gst.Value value1, Gst.Value value2);
2538 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2539 public delegate unowned string ValueSerializeFunc (Gst.Value value1);
2540 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2541 public delegate bool ValueSubtractFunc (Gst.Value dest, Gst.Value minuend, Gst.Value subtrahend);
2542 [CCode (cheader_filename = "gst/gst.h", has_target = false)]
2543 public delegate bool ValueUnionFunc (Gst.Value dest, Gst.Value value1, Gst.Value value2);
2544 [CCode (cheader_filename = "gst/gst.h")]
2545 public const int BUFFER_COPY_ALL;
2546 [CCode (cheader_filename = "gst/gst.h")]
2547 public const int BUFFER_OFFSET_NONE;
2548 [CCode (cheader_filename = "gst/gst.h")]
2549 public const string BUFFER_TRACE_NAME;
2550 [CCode (cheader_filename = "gst/gst.h")]
2551 public const string CLOCK_ENTRY_TRACE_NAME;
2552 [CCode (cheader_filename = "gst/gst.h")]
2553 public const int CLOCK_TIME_NONE;
2554 [CCode (cheader_filename = "gst/gst.h")]
2555 public const int DEBUG_BG_MASK;
2556 [CCode (cheader_filename = "gst/gst.h")]
2557 public const int DEBUG_FG_MASK;
2558 [CCode (cheader_filename = "gst/gst.h")]
2559 public const int DEBUG_FORMAT_MASK;
2560 [CCode (cheader_filename = "gst/gst.h")]
2561 public const string ELEMENT_FACTORY_KLASS_DECODER;
2562 [CCode (cheader_filename = "gst/gst.h")]
2563 public const string ELEMENT_FACTORY_KLASS_DEMUXER;
2564 [CCode (cheader_filename = "gst/gst.h")]
2565 public const string ELEMENT_FACTORY_KLASS_DEPAYLOADER;
2566 [CCode (cheader_filename = "gst/gst.h")]
2567 public const string ELEMENT_FACTORY_KLASS_ENCODER;
2568 [CCode (cheader_filename = "gst/gst.h")]
2569 public const string ELEMENT_FACTORY_KLASS_FORMATTER;
2570 [CCode (cheader_filename = "gst/gst.h")]
2571 public const string ELEMENT_FACTORY_KLASS_MEDIA_AUDIO;
2572 [CCode (cheader_filename = "gst/gst.h")]
2573 public const string ELEMENT_FACTORY_KLASS_MEDIA_IMAGE;
2574 [CCode (cheader_filename = "gst/gst.h")]
2575 public const string ELEMENT_FACTORY_KLASS_MEDIA_METADATA;
2576 [CCode (cheader_filename = "gst/gst.h")]
2577 public const string ELEMENT_FACTORY_KLASS_MEDIA_SUBTITLE;
2578 [CCode (cheader_filename = "gst/gst.h")]
2579 public const string ELEMENT_FACTORY_KLASS_MEDIA_VIDEO;
2580 [CCode (cheader_filename = "gst/gst.h")]
2581 public const string ELEMENT_FACTORY_KLASS_MUXER;
2582 [CCode (cheader_filename = "gst/gst.h")]
2583 public const string ELEMENT_FACTORY_KLASS_PARSER;
2584 [CCode (cheader_filename = "gst/gst.h")]
2585 public const string ELEMENT_FACTORY_KLASS_PAYLOADER;
2586 [CCode (cheader_filename = "gst/gst.h")]
2587 public const string ELEMENT_FACTORY_KLASS_SINK;
2588 [CCode (cheader_filename = "gst/gst.h")]
2589 public const string ELEMENT_FACTORY_KLASS_SRC;
2590 [CCode (cheader_filename = "gst/gst.h")]
2591 public const int ELEMENT_FACTORY_TYPE_ANY;
2592 [CCode (cheader_filename = "gst/gst.h")]
2593 public const int ELEMENT_FACTORY_TYPE_AUDIOVIDEO_SINKS;
2594 [CCode (cheader_filename = "gst/gst.h")]
2595 public const int ELEMENT_FACTORY_TYPE_AUDIO_ENCODER;
2596 [CCode (cheader_filename = "gst/gst.h")]
2597 public const int ELEMENT_FACTORY_TYPE_DECODABLE;
2598 [CCode (cheader_filename = "gst/gst.h")]
2599 public const int ELEMENT_FACTORY_TYPE_DECODER;
2600 [CCode (cheader_filename = "gst/gst.h")]
2601 public const int ELEMENT_FACTORY_TYPE_DEMUXER;
2602 [CCode (cheader_filename = "gst/gst.h")]
2603 public const int ELEMENT_FACTORY_TYPE_DEPAYLOADER;
2604 [CCode (cheader_filename = "gst/gst.h")]
2605 public const int ELEMENT_FACTORY_TYPE_ENCODER;
2606 [CCode (cheader_filename = "gst/gst.h")]
2607 public const int ELEMENT_FACTORY_TYPE_FORMATTER;
2608 [CCode (cheader_filename = "gst/gst.h")]
2609 public const int ELEMENT_FACTORY_TYPE_MAX_ELEMENTS;
2610 [CCode (cheader_filename = "gst/gst.h")]
2611 public const int ELEMENT_FACTORY_TYPE_MEDIA_ANY;
2612 [CCode (cheader_filename = "gst/gst.h")]
2613 public const int ELEMENT_FACTORY_TYPE_MEDIA_AUDIO;
2614 [CCode (cheader_filename = "gst/gst.h")]
2615 public const int ELEMENT_FACTORY_TYPE_MEDIA_IMAGE;
2616 [CCode (cheader_filename = "gst/gst.h")]
2617 public const int ELEMENT_FACTORY_TYPE_MEDIA_METADATA;
2618 [CCode (cheader_filename = "gst/gst.h")]
2619 public const int ELEMENT_FACTORY_TYPE_MEDIA_SUBTITLE;
2620 [CCode (cheader_filename = "gst/gst.h")]
2621 public const int ELEMENT_FACTORY_TYPE_MEDIA_VIDEO;
2622 [CCode (cheader_filename = "gst/gst.h")]
2623 public const int ELEMENT_FACTORY_TYPE_MUXER;
2624 [CCode (cheader_filename = "gst/gst.h")]
2625 public const int ELEMENT_FACTORY_TYPE_PARSER;
2626 [CCode (cheader_filename = "gst/gst.h")]
2627 public const int ELEMENT_FACTORY_TYPE_PAYLOADER;
2628 [CCode (cheader_filename = "gst/gst.h")]
2629 public const int ELEMENT_FACTORY_TYPE_SINK;
2630 [CCode (cheader_filename = "gst/gst.h")]
2631 public const int ELEMENT_FACTORY_TYPE_SRC;
2632 [CCode (cheader_filename = "gst/gst.h")]
2633 public const int ELEMENT_FACTORY_TYPE_VIDEO_ENCODER;
2634 [CCode (cheader_filename = "gst/gst.h")]
2635 public const string EVENT_TRACE_NAME;
2636 [CCode (cheader_filename = "gst/gst.h")]
2637 public const int EVENT_TYPE_BOTH;
2638 [CCode (cheader_filename = "gst/gst.h")]
2639 public const int EVENT_TYPE_SHIFT;
2640 [CCode (cheader_filename = "gst/gst.h")]
2641 public const string FOURCC_FORMAT;
2642 [CCode (cheader_filename = "gst/gst.h")]
2643 public const string LICENSE_UNKNOWN;
2644 [CCode (cheader_filename = "gst/gst.h")]
2645 public const string MESSAGE_TRACE_NAME;
2646 [CCode (cheader_filename = "gst/gst.h")]
2647 public const int MSECOND;
2648 [CCode (cheader_filename = "gst/gst.h")]
2649 public const int NSECOND;
2650 [CCode (cheader_filename = "gst/gst.h")]
2651 public const int PAD_LINK_CHECK_DEFAULT;
2652 [CCode (cheader_filename = "gst/gst.h")]
2653 public const int PARAM_CONTROLLABLE;
2654 [CCode (cheader_filename = "gst/gst.h")]
2655 public const int PARAM_MUTABLE_PAUSED;
2656 [CCode (cheader_filename = "gst/gst.h")]
2657 public const int PARAM_MUTABLE_PLAYING;
2658 [CCode (cheader_filename = "gst/gst.h")]
2659 public const int PARAM_MUTABLE_READY;
2660 [CCode (cheader_filename = "gst/gst.h")]
2661 public const int PARAM_USER_SHIFT;
2662 [CCode (cheader_filename = "gst/gst.h")]
2663 public const int SECOND;
2664 [CCode (cheader_filename = "gst/gst.h")]
2665 public const string TAG_ALBUM;
2666 [CCode (cheader_filename = "gst/gst.h")]
2667 public const string TAG_ALBUM_ARTIST;
2668 [CCode (cheader_filename = "gst/gst.h")]
2669 public const string TAG_ALBUM_ARTIST_SORTNAME;
2670 [CCode (cheader_filename = "gst/gst.h")]
2671 public const string TAG_ALBUM_GAIN;
2672 [CCode (cheader_filename = "gst/gst.h")]
2673 public const string TAG_ALBUM_PEAK;
2674 [CCode (cheader_filename = "gst/gst.h")]
2675 public const string TAG_ALBUM_SORTNAME;
2676 [CCode (cheader_filename = "gst/gst.h")]
2677 public const string TAG_ALBUM_VOLUME_COUNT;
2678 [CCode (cheader_filename = "gst/gst.h")]
2679 public const string TAG_ALBUM_VOLUME_NUMBER;
2680 [CCode (cheader_filename = "gst/gst.h")]
2681 public const string TAG_APPLICATION_DATA;
2682 [CCode (cheader_filename = "gst/gst.h")]
2683 public const string TAG_APPLICATION_NAME;
2684 [CCode (cheader_filename = "gst/gst.h")]
2685 public const string TAG_ARTIST;
2686 [CCode (cheader_filename = "gst/gst.h")]
2687 public const string TAG_ARTIST_SORTNAME;
2688 [CCode (cheader_filename = "gst/gst.h")]
2689 public const string TAG_ATTACHMENT;
2690 [CCode (cheader_filename = "gst/gst.h")]
2691 public const string TAG_AUDIO_CODEC;
2692 [CCode (cheader_filename = "gst/gst.h")]
2693 public const string TAG_BEATS_PER_MINUTE;
2694 [CCode (cheader_filename = "gst/gst.h")]
2695 public const string TAG_BITRATE;
2696 [CCode (cheader_filename = "gst/gst.h")]
2697 public const string TAG_CODEC;
2698 [CCode (cheader_filename = "gst/gst.h")]
2699 public const string TAG_COMMENT;
2700 [CCode (cheader_filename = "gst/gst.h")]
2701 public const string TAG_COMPOSER;
2702 [CCode (cheader_filename = "gst/gst.h")]
2703 public const string TAG_COMPOSER_SORTNAME;
2704 [CCode (cheader_filename = "gst/gst.h")]
2705 public const string TAG_CONTACT;
2706 [CCode (cheader_filename = "gst/gst.h")]
2707 public const string TAG_CONTAINER_FORMAT;
2708 [CCode (cheader_filename = "gst/gst.h")]
2709 public const string TAG_COPYRIGHT;
2710 [CCode (cheader_filename = "gst/gst.h")]
2711 public const string TAG_COPYRIGHT_URI;
2712 [CCode (cheader_filename = "gst/gst.h")]
2713 public const string TAG_DATE;
2714 [CCode (cheader_filename = "gst/gst.h")]
2715 public const string TAG_DATE_TIME;
2716 [CCode (cheader_filename = "gst/gst.h")]
2717 public const string TAG_DESCRIPTION;
2718 [CCode (cheader_filename = "gst/gst.h")]
2719 public const string TAG_DEVICE_MANUFACTURER;
2720 [CCode (cheader_filename = "gst/gst.h")]
2721 public const string TAG_DEVICE_MODEL;
2722 [CCode (cheader_filename = "gst/gst.h")]
2723 public const string TAG_DURATION;
2724 [CCode (cheader_filename = "gst/gst.h")]
2725 public const string TAG_ENCODED_BY;
2726 [CCode (cheader_filename = "gst/gst.h")]
2727 public const string TAG_ENCODER;
2728 [CCode (cheader_filename = "gst/gst.h")]
2729 public const string TAG_ENCODER_VERSION;
2730 [CCode (cheader_filename = "gst/gst.h")]
2731 public const string TAG_EXTENDED_COMMENT;
2732 [CCode (cheader_filename = "gst/gst.h")]
2733 public const string TAG_GENRE;
2734 [CCode (cheader_filename = "gst/gst.h")]
2735 public const string TAG_GEO_LOCATION_CAPTURE_DIRECTION;
2736 [CCode (cheader_filename = "gst/gst.h")]
2737 public const string TAG_GEO_LOCATION_CITY;
2738 [CCode (cheader_filename = "gst/gst.h")]
2739 public const string TAG_GEO_LOCATION_COUNTRY;
2740 [CCode (cheader_filename = "gst/gst.h")]
2741 public const string TAG_GEO_LOCATION_ELEVATION;
2742 [CCode (cheader_filename = "gst/gst.h")]
2743 public const string TAG_GEO_LOCATION_HORIZONTAL_ERROR;
2744 [CCode (cheader_filename = "gst/gst.h")]
2745 public const string TAG_GEO_LOCATION_LATITUDE;
2746 [CCode (cheader_filename = "gst/gst.h")]
2747 public const string TAG_GEO_LOCATION_LONGITUDE;
2748 [CCode (cheader_filename = "gst/gst.h")]
2749 public const string TAG_GEO_LOCATION_MOVEMENT_DIRECTION;
2750 [CCode (cheader_filename = "gst/gst.h")]
2751 public const string TAG_GEO_LOCATION_MOVEMENT_SPEED;
2752 [CCode (cheader_filename = "gst/gst.h")]
2753 public const string TAG_GEO_LOCATION_NAME;
2754 [CCode (cheader_filename = "gst/gst.h")]
2755 public const string TAG_GEO_LOCATION_SUBLOCATION;
2756 [CCode (cheader_filename = "gst/gst.h")]
2757 public const string TAG_GROUPING;
2758 [CCode (cheader_filename = "gst/gst.h")]
2759 public const string TAG_HOMEPAGE;
2760 [CCode (cheader_filename = "gst/gst.h")]
2761 public const string TAG_IMAGE;
2762 [CCode (cheader_filename = "gst/gst.h")]
2763 public const string TAG_IMAGE_ORIENTATION;
2764 [CCode (cheader_filename = "gst/gst.h")]
2765 public const string TAG_ISRC;
2766 [CCode (cheader_filename = "gst/gst.h")]
2767 public const string TAG_KEYWORDS;
2768 [CCode (cheader_filename = "gst/gst.h")]
2769 public const string TAG_LANGUAGE_CODE;
2770 [CCode (cheader_filename = "gst/gst.h")]
2771 public const string TAG_LICENSE;
2772 [CCode (cheader_filename = "gst/gst.h")]
2773 public const string TAG_LICENSE_URI;
2774 [CCode (cheader_filename = "gst/gst.h")]
2775 public const string TAG_LOCATION;
2776 [CCode (cheader_filename = "gst/gst.h")]
2777 public const string TAG_LYRICS;
2778 [CCode (cheader_filename = "gst/gst.h")]
2779 public const string TAG_MAXIMUM_BITRATE;
2780 [CCode (cheader_filename = "gst/gst.h")]
2781 public const string TAG_MINIMUM_BITRATE;
2782 [CCode (cheader_filename = "gst/gst.h")]
2783 public const string TAG_NOMINAL_BITRATE;
2784 [CCode (cheader_filename = "gst/gst.h")]
2785 public const string TAG_ORGANIZATION;
2786 [CCode (cheader_filename = "gst/gst.h")]
2787 public const string TAG_PERFORMER;
2788 [CCode (cheader_filename = "gst/gst.h")]
2789 public const string TAG_PREVIEW_IMAGE;
2790 [CCode (cheader_filename = "gst/gst.h")]
2791 public const string TAG_REFERENCE_LEVEL;
2792 [CCode (cheader_filename = "gst/gst.h")]
2793 public const string TAG_SERIAL;
2794 [CCode (cheader_filename = "gst/gst.h")]
2795 public const string TAG_SHOW_EPISODE_NUMBER;
2796 [CCode (cheader_filename = "gst/gst.h")]
2797 public const string TAG_SHOW_NAME;
2798 [CCode (cheader_filename = "gst/gst.h")]
2799 public const string TAG_SHOW_SEASON_NUMBER;
2800 [CCode (cheader_filename = "gst/gst.h")]
2801 public const string TAG_SHOW_SORTNAME;
2802 [CCode (cheader_filename = "gst/gst.h")]
2803 public const string TAG_SUBTITLE_CODEC;
2804 [CCode (cheader_filename = "gst/gst.h")]
2805 public const string TAG_TITLE;
2806 [CCode (cheader_filename = "gst/gst.h")]
2807 public const string TAG_TITLE_SORTNAME;
2808 [CCode (cheader_filename = "gst/gst.h")]
2809 public const string TAG_TRACK_COUNT;
2810 [CCode (cheader_filename = "gst/gst.h")]
2811 public const string TAG_TRACK_GAIN;
2812 [CCode (cheader_filename = "gst/gst.h")]
2813 public const string TAG_TRACK_NUMBER;
2814 [CCode (cheader_filename = "gst/gst.h")]
2815 public const string TAG_TRACK_PEAK;
2816 [CCode (cheader_filename = "gst/gst.h")]
2817 public const string TAG_USER_RATING;
2818 [CCode (cheader_filename = "gst/gst.h")]
2819 public const string TAG_VERSION;
2820 [CCode (cheader_filename = "gst/gst.h")]
2821 public const string TAG_VIDEO_CODEC;
2822 [CCode (cheader_filename = "gst/gst.h")]
2823 public const string TIME_FORMAT;
2824 [CCode (cheader_filename = "gst/gst.h")]
2825 public const int USECOND;
2826 [CCode (cheader_filename = "gst/gst.h")]
2827 public const int VALUE_EQUAL;
2828 [CCode (cheader_filename = "gst/gst.h")]
2829 public const int VALUE_GREATER_THAN;
2830 [CCode (cheader_filename = "gst/gst.h")]
2831 public const int VALUE_LESS_THAN;
2832 [CCode (cheader_filename = "gst/gst.h")]
2833 public const int VALUE_UNORDERED;
2834 [CCode (cheader_filename = "gst/gst.h")]
2835 public const int VERSION_MAJOR;
2836 [CCode (cheader_filename = "gst/gst.h")]
2837 public const int VERSION_MICRO;
2838 [CCode (cheader_filename = "gst/gst.h")]
2839 public const int VERSION_MINOR;
2840 [CCode (cheader_filename = "gst/gst.h")]
2841 public const int VERSION_NANO;
2842 [CCode (cheader_filename = "gst/gst.h")]
2843 public static void atomic_int_set (int atomic_int, int value);
2844 [CCode (cheader_filename = "gst/gst.h")]
2845 public static GLib.Quark core_error_quark ();
2846 [CCode (cheader_filename = "gst/gst.h")]
2847 public static void debug_add_log_function (Gst.LogFunction func, void* data);
2848 [CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE")]
2849 public static void debug_bin_to_dot_file (Gst.Bin bin, Gst.DebugGraphDetails details, string prefix);
2850 [CCode (cheader_filename = "gst/gst.h", cname = "GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS")]
2851 public static void debug_bin_to_dot_file_with_ts (Gst.Bin bin, Gst.DebugGraphDetails details, string prefix);
2852 [CCode (cheader_filename = "gst/gst.h")]
2853 public static unowned string debug_construct_term_color (uint colorinfo);
2854 [CCode (cheader_filename = "gst/gst.h")]
2855 public static int debug_construct_win_color (uint colorinfo);
2856 [CCode (cheader_filename = "gst/gst.h")]
2857 public static GLib.SList<Gst.DebugCategory> debug_get_all_categories ();
2858 [CCode (cheader_filename = "gst/gst.h")]
2859 public static Gst.DebugLevel debug_get_default_threshold ();
2860 [CCode (cheader_filename = "gst/gst.h")]
2861 public static bool debug_is_active ();
2862 [CCode (cheader_filename = "gst/gst.h")]
2863 public static bool debug_is_colored ();
2864 [CCode (cheader_filename = "gst/gst.h")]
2865 public static void debug_log (Gst.DebugCategory category, Gst.DebugLevel level, string file, string function, int line, GLib.Object object, string format);
2866 [CCode (cheader_filename = "gst/gst.h")]
2867 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);
2868 [CCode (cheader_filename = "gst/gst.h")]
2869 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);
2870 [CCode (cheader_filename = "gst/gst.h")]
2871 public static void debug_print_stack_trace ();
2872 [CCode (cheader_filename = "gst/gst.h")]
2873 public static uint debug_remove_log_function (Gst.LogFunction func);
2874 [CCode (cheader_filename = "gst/gst.h")]
2875 public static uint debug_remove_log_function_by_data (void* data);
2876 [CCode (cheader_filename = "gst/gst.h")]
2877 public static void debug_set_active (bool active);
2878 [CCode (cheader_filename = "gst/gst.h")]
2879 public static void debug_set_colored (bool colored);
2880 [CCode (cheader_filename = "gst/gst.h")]
2881 public static void debug_set_default_threshold (Gst.DebugLevel level);
2882 [CCode (cheader_filename = "gst/gst.h")]
2883 public static void debug_set_threshold_for_name (string name, Gst.DebugLevel level);
2884 [CCode (cheader_filename = "gst/gst.h")]
2885 public static void debug_unset_threshold_for_name (string name);
2886 [CCode (cheader_filename = "gst/gst.h")]
2887 public static bool default_registry_check_feature_version (string feature_name, uint min_major, uint min_minor, uint min_micro);
2888 [CCode (cheader_filename = "gst/gst.h")]
2889 public static void deinit ();
2890 [CCode (cheader_filename = "gst/gst.h")]
2891 public static GLib.Type double_range_get_type ();
2892 [CCode (cheader_filename = "gst/gst.h")]
2893 public static string error_get_message (GLib.Quark domain, int code);
2894 [CCode (cheader_filename = "gst/gst.h")]
2895 public static unowned string filename_to_uri (string filename) throws GLib.Error;
2896 [CCode (cheader_filename = "gst/gst.h")]
2897 public static GLib.List filter_run (GLib.List list, Gst.FilterFunc func, bool first);
2898 [CCode (cheader_filename = "gst/gst.h")]
2899 public static GLib.Quark flow_to_quark (Gst.FlowReturn ret);
2900 [CCode (cheader_filename = "gst/gst.h")]
2901 public static Gst.Format format_get_by_nick (string nick);
2902 [CCode (cheader_filename = "gst/gst.h")]
2903 public static Gst.FormatDefinition format_get_details (Gst.Format format);
2904 [CCode (cheader_filename = "gst/gst.h")]
2905 public static Gst.Iterator<Gst.FormatDefinition> format_iterate_definitions ();
2906 [CCode (cheader_filename = "gst/gst.h")]
2907 public static Gst.Format format_register (string nick, string description);
2908 [CCode (cheader_filename = "gst/gst.h")]
2909 public static GLib.Quark format_to_quark (Gst.Format format);
2910 [CCode (cheader_filename = "gst/gst.h")]
2911 public static bool formats_contains (Gst.Format formats, Gst.Format format);
2912 [CCode (cheader_filename = "gst/gst.h")]
2913 public static GLib.Type fourcc_get_type ();
2914 [CCode (cheader_filename = "gst/gst.h")]
2915 public static GLib.Type fraction_get_type ();
2916 [CCode (cheader_filename = "gst/gst.h")]
2917 public static GLib.Type fraction_range_get_type ();
2918 [CCode (cheader_filename = "gst/gst.h")]
2919 public static void init ([CCode (array_length_pos = 0.9)] ref unowned string[] argv);
2920 [CCode (cheader_filename = "gst/gst.h")]
2921 public static bool init_check ([CCode (array_length_pos = 0.9)] ref unowned string[] argv) throws GLib.Error;
2922 [CCode (cheader_filename = "gst/gst.h")]
2923 public static GLib.OptionGroup init_get_option_group ();
2924 [CCode (cheader_filename = "gst/gst.h")]
2925 public static GLib.Type int64_range_get_type ();
2926 [CCode (cheader_filename = "gst/gst.h")]
2927 public static GLib.Type int_range_get_type ();
2928 [CCode (cheader_filename = "gst/gst.h")]
2929 public static bool is_initialized ();
2930 [CCode (cheader_filename = "gst/gst.h")]
2931 public static bool is_tag_list (void* p);
2932 [CCode (cheader_filename = "gst/gst.h")]
2933 public static GLib.Quark library_error_quark ();
2934 [CCode (cheader_filename = "gst/gst.h")]
2935 public static void marshal_BOOLEAN__POINTER (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2936 [CCode (cheader_filename = "gst/gst.h")]
2937 public static void marshal_BOOLEAN__VOID (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2938 [CCode (cheader_filename = "gst/gst.h")]
2939 public static void marshal_BOXED__BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2940 [CCode (cheader_filename = "gst/gst.h")]
2941 public static void marshal_POINTER__POINTER (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2942 [CCode (cheader_filename = "gst/gst.h")]
2943 public static void marshal_VOID__BOXED_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2944 [CCode (cheader_filename = "gst/gst.h")]
2945 public static void marshal_VOID__INT64 (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2946 [CCode (cheader_filename = "gst/gst.h")]
2947 public static void marshal_VOID__INT_INT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2948 [CCode (cheader_filename = "gst/gst.h")]
2949 public static void marshal_VOID__OBJECT_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2950 [CCode (cheader_filename = "gst/gst.h")]
2951 public static void marshal_VOID__OBJECT_BOXED_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2952 [CCode (cheader_filename = "gst/gst.h")]
2953 public static void marshal_VOID__OBJECT_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2954 [CCode (cheader_filename = "gst/gst.h")]
2955 public static void marshal_VOID__OBJECT_OBJECT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2956 [CCode (cheader_filename = "gst/gst.h")]
2957 public static void marshal_VOID__OBJECT_PARAM (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2958 [CCode (cheader_filename = "gst/gst.h")]
2959 public static void marshal_VOID__OBJECT_POINTER (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2960 [CCode (cheader_filename = "gst/gst.h")]
2961 public static void marshal_VOID__OBJECT_STRING (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2962 [CCode (cheader_filename = "gst/gst.h")]
2963 public static void marshal_VOID__POINTER_OBJECT (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2964 [CCode (cheader_filename = "gst/gst.h")]
2965 public static void marshal_VOID__UINT_BOXED (GLib.Closure closure, GLib.Value return_value, uint n_param_values, GLib.Value param_values, void* invocation_hint, void* marshal_data);
2966 [CCode (cheader_filename = "gst/gst.h")]
2967 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);
2968 [CCode (cheader_filename = "gst/gst.h")]
2969 public static unowned GLib.ParamSpec param_spec_mini_object (string name, string nick, string blurb, GLib.Type object_type, GLib.ParamFlags flags);
2970 [CCode (cheader_filename = "gst/gst.h", returns_floating_reference = true)]
2971 public static Gst.Element? parse_bin_from_description (string bin_description, bool ghost_unlinked_pads) throws GLib.Error;
2972 [CCode (cheader_filename = "gst/gst.h", returns_floating_reference = true)]
2973 public static Gst.Element? parse_bin_from_description_full (string bin_description, bool ghost_unlinked_pads, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
2974 [CCode (cheader_filename = "gst/gst.h")]
2975 public static GLib.Quark parse_error_quark ();
2976 [CCode (cheader_filename = "gst/gst.h")]
2977 public static Gst.Element? parse_launch (string pipeline_description) throws GLib.Error;
2978 [CCode (cheader_filename = "gst/gst.h")]
2979 public static Gst.Element? parse_launch_full (string pipeline_description, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
2980 [CCode (cheader_filename = "gst/gst.h")]
2981 public static Gst.Element? parse_launchv ([CCode (array_length = false, array_null_terminated = true)] string[] argv) throws GLib.Error;
2982 [CCode (cheader_filename = "gst/gst.h")]
2983 public static Gst.Element? parse_launchv_full ([CCode (array_length = false, array_null_terminated = true)] string[] argv, Gst.ParseContext? context, Gst.ParseFlags flags) throws GLib.Error;
2984 [CCode (cheader_filename = "gst/gst.h")]
2985 public static void print_element_args (GLib.StringBuilder buf, int indent, Gst.Element element);
2986 [CCode (cheader_filename = "gst/gst.h")]
2987 public static void print_pad_caps (GLib.StringBuilder buf, int indent, Gst.Pad pad);
2988 [CCode (cheader_filename = "gst/gst.h")]
2989 public static GLib.Quark resource_error_quark ();
2990 [CCode (cheader_filename = "gst/gst.h")]
2991 public static bool segtrap_is_enabled ();
2992 [CCode (cheader_filename = "gst/gst.h")]
2993 public static void segtrap_set_enabled (bool enabled);
2994 [CCode (cheader_filename = "gst/gst.h")]
2995 public static GLib.Quark stream_error_quark ();
2996 [CCode (cheader_filename = "gst/gst.h")]
2997 public static bool tag_exists (string tag);
2998 [CCode (cheader_filename = "gst/gst.h")]
2999 public static unowned string tag_get_description (string tag);
3000 [CCode (cheader_filename = "gst/gst.h")]
3001 public static Gst.TagFlag tag_get_flag (string tag);
3002 [CCode (cheader_filename = "gst/gst.h")]
3003 public static unowned string tag_get_nick (string tag);
3004 [CCode (cheader_filename = "gst/gst.h")]
3005 public static GLib.Type tag_get_type (string tag);
3006 [CCode (cheader_filename = "gst/gst.h")]
3007 public static bool tag_is_fixed (string tag);
3008 [CCode (cheader_filename = "gst/gst.h")]
3009 public static void tag_merge_strings_with_comma (GLib.Value dest, GLib.Value src);
3010 [CCode (cheader_filename = "gst/gst.h")]
3011 public static void tag_merge_use_first (GLib.Value dest, GLib.Value src);
3012 [CCode (cheader_filename = "gst/gst.h")]
3013 public static void tag_register (string name, Gst.TagFlag flag, GLib.Type type, string nick, string blurb, Gst.TagMergeFunc func);
3014 [CCode (cheader_filename = "gst/gst.h")]
3015 public static bool update_registry ();
3016 [CCode (cheader_filename = "gst/gst.h")]
3017 public static unowned string uri_construct (string protocol, string location);
3018 [CCode (cheader_filename = "gst/gst.h")]
3019 public static unowned string uri_get_location (string uri);
3020 [CCode (cheader_filename = "gst/gst.h")]
3021 public static unowned string uri_get_protocol (string uri);
3022 [CCode (cheader_filename = "gst/gst.h")]
3023 public static bool uri_has_protocol (string uri, string protocol);
3024 [CCode (cheader_filename = "gst/gst.h")]
3025 public static bool uri_is_valid (string uri);
3026 [CCode (cheader_filename = "gst/gst.h")]
3027 public static bool uri_protocol_is_supported (Gst.URIType type, string protocol);
3028 [CCode (cheader_filename = "gst/gst.h")]
3029 public static bool uri_protocol_is_valid (string protocol);
3030 [CCode (cheader_filename = "gst/gst.h")]
3031 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);
3032 [CCode (cheader_filename = "gst/gst.h")]
3033 public static void util_double_to_fraction (double src, int dest_n, int dest_d);
3034 [CCode (cheader_filename = "gst/gst.h")]
3035 public static void util_dump_mem (uchar[] mem, uint size);
3036 [CCode (cheader_filename = "gst/gst.h")]
3037 public static bool util_fraction_add (int a_n, int a_d, int b_n, int b_d, int res_n, int res_d);
3038 [CCode (cheader_filename = "gst/gst.h")]
3039 public static int util_fraction_compare (int a_n, int a_d, int b_n, int b_d);
3040 [CCode (cheader_filename = "gst/gst.h")]
3041 public static bool util_fraction_multiply (int a_n, int a_d, int b_n, int b_d, int res_n, int res_d);
3042 [CCode (cheader_filename = "gst/gst.h")]
3043 public static void util_fraction_to_double (int src_n, int src_d, double dest);
3044 [CCode (cheader_filename = "gst/gst.h")]
3045 public static uint64 util_gdouble_to_guint64 (double value);
3046 [CCode (cheader_filename = "gst/gst.h")]
3047 public static Gst.ClockTime util_get_timestamp ();
3048 [CCode (cheader_filename = "gst/gst.h")]
3049 public static int util_greatest_common_divisor (int a, int b);
3050 [CCode (cheader_filename = "gst/gst.h")]
3051 public static double util_guint64_to_gdouble (uint64 value);
3052 [CCode (cheader_filename = "gst/gst.h")]
3053 public static int32 util_seqnum_compare (uint32 s1, uint32 s2);
3054 [CCode (cheader_filename = "gst/gst.h")]
3055 public static uint32 util_seqnum_next ();
3056 [CCode (cheader_filename = "gst/gst.h")]
3057 public static void util_set_object_arg (GLib.Object object, string name, string value);
3058 [CCode (cheader_filename = "gst/gst.h")]
3059 public static void util_set_value_from_string (GLib.Value value, string value_str);
3060 [CCode (cheader_filename = "gst/gst.h")]
3061 public static uint64 util_uint64_scale (uint64 val, uint64 num, uint64 denom);
3062 [CCode (cheader_filename = "gst/gst.h")]
3063 public static uint64 util_uint64_scale_ceil (uint64 val, uint64 num, uint64 denom);
3064 [CCode (cheader_filename = "gst/gst.h")]
3065 public static uint64 util_uint64_scale_int (uint64 val, int num, int denom);
3066 [CCode (cheader_filename = "gst/gst.h")]
3067 public static uint64 util_uint64_scale_int_ceil (uint64 val, int num, int denom);
3068 [CCode (cheader_filename = "gst/gst.h")]
3069 public static uint64 util_uint64_scale_int_round (uint64 val, int num, int denom);
3070 [CCode (cheader_filename = "gst/gst.h")]
3071 public static uint64 util_uint64_scale_round (uint64 val, uint64 num, uint64 denom);
3072 [CCode (cheader_filename = "gst/gst.h")]
3073 public static unowned Gst.MiniObject value_dup_mini_object (GLib.Value value);
3074 [CCode (cheader_filename = "gst/gst.h")]
3075 public static int64 value_get_int64_range_max (GLib.Value value);
3076 [CCode (cheader_filename = "gst/gst.h")]
3077 public static int64 value_get_int64_range_min (GLib.Value value);
3078 [CCode (cheader_filename = "gst/gst.h")]
3079 public static void value_list_merge (GLib.Value dest, GLib.Value value1, GLib.Value value2);
3080 [CCode (cheader_filename = "gst/gst.h")]
3081 public static void value_set_int64_range (GLib.Value value, int64 start, int64 end);
3082 [CCode (cheader_filename = "gst/gst.h")]
3083 public static void version (out uint major, out uint minor, out uint micro, out uint nano);
3084 [CCode (cheader_filename = "gst/gst.h")]
3085 public static string version_string ();