template<typename T>
class Gst::Range< T >
A class that represents a range (min - max).
Gst::Range is used to store a range in Gst::Structures of Gst::Caps as a value representing a property (see GStreamer Application Development Manual section 8.2.2 and GstValue docs). When the value is set, it is transformed to a GStreamer GType so retrieving the value is a bit different. The class can be used in setting and getting a Gst::Structure field like so:
Glib::Value<Gst::Range<int>> value;
structure.set_field("rate", value);
...
Glib::ValueBase gst_value;
structure.get_field("rate", gst_value);
...
A class that represents a range (min - max).
Definition value.h:196
T max
Definition value.h:234
Generic class containing fields of names and values.
Definition structure.h:75
Gst::Range should be used with following types: int, double, Gst::Fraction.
Last reviewed on 2016-08-27 (1.8.0)