gstreamermm
1.4.3
|
A class that represents a fractional range. More...
Public Member Functions | |
FractionRange () | |
Constructs a zero Gst::FractionRange (0/1 - 0/1). More... | |
FractionRange (const Fraction&min, const Fraction&max) | |
Constructs a Gst::FractionRange (min - max). More... | |
FractionRange (const FractionRange& src) | |
Constructs a Gst::FractionRange from another. More... | |
FractionRange (const Glib::ValueBase& gst_fraction_range_value) | |
Constructs a Gst::FractionRange from a GST_TYPE_FRACTION_RANGE. More... | |
FractionRange (const GValue& gst_fraction_range_value) | |
Constructs a Gst::FractionRange from a GST_TYPE_FRACTION_RANGE. More... | |
FractionRange& | operator= (const FractionRange& src) |
Public Attributes | |
Fraction | min |
Fraction | max |
A class that represents a fractional range.
Gst::FractionRange is used to store a fractional 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:
Gst::FractionRange::FractionRange | ( | ) |
Constructs a zero Gst::FractionRange (0/1 - 0/1).
Constructs a Gst::FractionRange (min - max).
Gst::FractionRange::FractionRange | ( | const FractionRange& | src | ) |
Constructs a Gst::FractionRange from another.
|
explicit |
Constructs a Gst::FractionRange from a GST_TYPE_FRACTION_RANGE.
|
explicit |
Constructs a Gst::FractionRange from a GST_TYPE_FRACTION_RANGE.
FractionRange& Gst::FractionRange::operator= | ( | const FractionRange& | src | ) |
Fraction Gst::FractionRange::max |
Fraction Gst::FractionRange::min |