gststructure: Add gst_structure_get_flags method
authorSeungha Yang <seungha@centricular.com>
Mon, 18 Jul 2022 19:05:55 +0000 (04:05 +0900)
committerSeungha Yang <seungha@centricular.com>
Tue, 19 Jul 2022 11:54:31 +0000 (20:54 +0900)
commit43052fabb5a3eecc19bd90fe8819404de313e4b8
tree5ff920e26164789b0811d219719f3522ca150d55
parent205034dea9dfa85436288d08770a434d984a73e9
gststructure: Add gst_structure_get_flags method

We don't prevent setting G_TYPE_FLAGS on GstStructure
but no helper method for getting the value.
Add a method similar to gst_structure_get_enum()

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2770>
subprojects/gstreamer/gst/gststructure.c
subprojects/gstreamer/gst/gststructure.h
subprojects/gstreamer/tests/check/gst/gststructure.c