Function

Gst-1.0Gstvalue_set_fraction

  • Sets value to the fraction specified by numerator over denominator. The fraction gets reduced to the smallest numerator and denominator, and if necessary the sign is moved to the numerator.

    Parameters

    • value: any

      a GValue initialized to #GST_TYPE_FRACTION

    • numerator: number

      the numerator of the fraction

    • denominator: number

      the denominator of the fraction

    Returns void