This file contains helper functions to control _GstGVAJSONMeta instances.
More...
Go to the source code of this file.
|
struct | _GstGVAJSONMeta |
| This struct represents JSON metadata and contains instance of parent GstMeta and message. More...
|
|
This file contains helper functions to control _GstGVAJSONMeta instances.
◆ get_json_message()
gchar* get_json_message |
( |
GstGVAJSONMeta * |
meta | ) |
|
This function returns message field of _GstGVAJSONMeta.
- Parameters
-
meta | _GstGVAJSONMeta* to retrieve message of |
- Returns
- C-style string with message
◆ gst_gva_json_meta_api_get_type()
GType gst_gva_json_meta_api_get_type |
( |
void |
| ) |
|
This function registers, if needed, and returns a GType for api "GstGVAJSONMetaAPI" and associate it with GVA_JSON_META_TAG tag.
- Returns
- GType type
◆ gst_gva_json_meta_get_info()
const GstMetaInfo* gst_gva_json_meta_get_info |
( |
void |
| ) |
|
This function registers, if needed, and returns GstMetaInfo for _GstGVAJSONMeta.
- Returns
- const GstMetaInfo* for registered type
◆ set_json_message()
void set_json_message |
( |
GstGVAJSONMeta * |
meta, |
|
|
const gchar * |
message |
|
) |
| |
This function sets message field of _GstGVAJSONMeta.
- Parameters
-
meta | _GstGVAJSONMeta* to set message |
message | message |
- Returns
- void