Skip to content
  • Thiago Santos's avatar
    More encoding_profile binding improvements · 382138b7
    Thiago Santos authored and Sebastian Dröge's avatar Sebastian Dröge committed
    - enable is_equal function again (unsure why it was disabled)
    - remove restriction-caps property, encoding-profile objects are
    immutable
    - remove cast need by using IsA<EncodingProfile> in parameters and
    returning the correct type of encodingprofile subclass from the build()
    functions. It used a internal hack for storing those IsA objects in
    order to keep the API clean and ready to be used, this should be sorted
    out as soon as we figure out how to store them in the buidlers.
    - encodebin example: remove Result error propagation when it is caused
    by programming mistakes. A panic will happen in those cases.
    - run rustfmt
    382138b7