| GStreamer 0.8 Core API Reference (0.8.0.1) |
|---|
gstutils —
void gst_util_set_value_from_string (GValue *value, const gchar *value_str); void gst_util_set_object_arg (GObject *object, const gchar *name, const gchar *value); void gst_util_dump_mem (const guchar *mem, guint size); void gst_print_pad_caps (GString *buf, gint indent, GstPad *pad); void gst_print_element_args (GString *buf, gint indent, GstElement *element); #define GST_BOILERPLATE_FULL (type, type_as_function, parent_type, \ parent_type_macro, additional_initializations) #define GST_BOILERPLATE (type,type_as_function,parent_type,parent_type_macro) #define GST_CALL_PARENT (parent_class_cast, name, args) #define GST_CALL_PARENT_WITH_DEFAULT (parent_class_cast, name, args, def_return)
void gst_util_set_value_from_string (GValue *value,
const gchar *value_str);Converts the string to the type of the value and sets the value with it.
| value : | the value to set |
| value_str : | the string to get the value from |
void gst_util_set_object_arg (GObject *object,
const gchar *name,
const gchar *value);Convertes the string value to the type of the objects argument and sets the argument with it.
| object : | the object to set the argument of |
| name : | the name of the argument to set |
| value : | the string value to set |
void gst_util_dump_mem (const guchar *mem,
guint size);Dumps the memory block into a hex representation. Useful for debugging.
| mem : | a pointer to the memory to dump |
| size : | the size of the memory block to dump |
void gst_print_pad_caps (GString *buf,
gint indent,
GstPad *pad);Write the pad capabilities in a human readable format into the given GString.
| buf : | the buffer to print the caps in |
| indent : | initial indentation |
| pad : | the pad to print the caps from |
void gst_print_element_args (GString *buf,
gint indent,
GstElement *element);Print the element argument in a human readable format in the given GString.
| buf : | the buffer to print the args in |
| indent : | initial indentation |
| element : | the element to print the args of |
#define GST_BOILERPLATE_FULL(type, type_as_function, parent_type, \
parent_type_macro, additional_initializations)
| type : | |
| type_as_function : | |
| parent_type : | @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: @\ parent_type_macro: |
| additional_initializations : |
#define GST_BOILERPLATE(type,type_as_function,parent_type,parent_type_macro)
| type : | |
| type_as_function : | |
| parent_type : | |
| parent_type_macro : |
#define GST_CALL_PARENT(parent_class_cast, name, args)
| parent_class_cast : | |
| name : | |
| args : |
| << GstURIHandler | GstValue >> |