[gst-devel] fractions and aspect ratios

Steve Baker steve at stevebaker.org
Tue Jul 13 14:44:07 CEST 2004


Thomas spoketh:
> - I also looked at creating a GST_TYPE_RANGE that would be implemented
> with a GArray with three members (lower, upper, increment).  A lot of
> code would be the same as for the LIST type, and we could convert over
> the GST_TYPE_INT_RANGE and GST_TYPE_DOUBLE_RANGE to it.  What do you
> think ?

For GST_TYPE_RANGE to be universally useful there would need to be a flag
which indicates the range as being logarithmic. We would then have to
define what the increment means for a logarithmic range.

Examples of logarithmic ranges would be frequency and decibels.





More information about the gstreamer-devel mailing list