BYTES,
TIME,
BUFFERS,
- PERCENT
+ PERCENT;
+ [CCode (cname = "gst_format_get_name")]
+ public unowned string to_string ();
}
[CCode (cprefix = "GST_INDEX_", cheader_filename = "gst/gst.h")]
public enum IndexCertainty {
}
#endif
+#if 0
+ // FIXME: This can't be parsed by vapigen
+ public enum Format {
+ ;
+ [CCode (cname = "gst_format_get_details")]
+ public unowned FormatDefination get_details ();
+ [CCode (cname = "gst_format_to_quark")]
+ public GLib.Quark to_quark ();
+ [CCode (cname = "gst_format_get_name")]
+ public unowned string get_name ();
+
+ [CCode (cname = "gst_format_register")]
+ static Format register (string nick, string description);
+ [CCode (cname = "gst_format_get_by_nick")]
+ static Format get_by_nick (string nick);
+
+ [CCode (cname = "GST_FORMAT_PERCENT_MAX")]
+ public const int64 PERCENT_MAX;
+ [CCode (cname = "GST_FORMAT_PERCENT_SCALE")]
+ public const int64 PERCENT_SCALE;
+ }
+#endif
+
[CCode (ref_function = "gst_object_ref", unref_function = "gst_object_unref", ref_sink_function = "gst_object_ref_sink")]
public class Object {
public Gst.Object @ref ();
gst_filter_run transfer_ownership="1"
GstFlowReturn to_string="gst_flow_get_name"
gst_flow_get_name hidden="1"
-GstFormatReturn to_string="gst_format_get_name"
+GstFormat to_string="gst_format_get_name"
gst_format_get_name hidden="1"
GstFormatDefinition is_value_type="1"
GstGhostPad base_class="GstPad"