Commit graph

28 commits

Author SHA1 Message Date
Sebastian Dröge 65b77971ef Clean up imports a bit 2018-11-26 12:57:46 +01:00
Sebastian Dröge 5b98f9def0 Onle re-export traits from the pbutils prelude 2018-11-26 12:57:46 +01:00
Sebastian Dröge 00a5fecdbb Remove EncodingTarget::add_profile() and consider it immutable 2018-11-26 12:57:46 +01:00
Sebastian Dröge 1cecb1c8ab Add copyright header 2018-11-26 12:57:46 +01:00
Sebastian Dröge 1b7c8868a9 Store encoding profiles inside the container builder as a Vec 2018-11-26 12:57:46 +01:00
Sebastian Dröge 2df623c09a Remove unnecessary mut 2018-11-26 12:57:46 +01:00
Sebastian Dröge 682ca91070 Remove automatically inserted docs from git 2018-11-26 12:57:46 +01:00
Thiago Santos e09f23e689 More encoding_profile binding improvements
- 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
2018-11-26 12:57:46 +01:00
Thiago Santos 6cb7f602d1 encoding_profile: set_restriction is transfer-full not transfer-none
Avoid refcounting mistakes by using the right converting functions
before calling the ffi layer functions
2018-11-26 12:57:46 +01:00
Thiago Santos 15da7bca0e EncodingProfile: remove setters and constructors, use builders
Provide builders for the EncodingProfile so that the created objects are
imutable and can have the Send and Sync traits
2018-11-26 12:57:46 +01:00
Thiago Santos 69ae94eb37 encoding_profile: add builders for all types 2018-11-26 12:57:46 +01:00
Thiago Santos 307637c7bd pbutils: adding encoding-profile bindings 2018-11-26 12:57:46 +01:00
Sebastian Dröge 3c900e6102 Regenerate with latest gir 2018-08-18 00:25:12 +03:00
Sebastian Dröge 2240ef109f Regenerate with latest GIR and update for the glib::Quark changes 2018-07-30 11:46:40 +03:00
Sebastian Dröge 694bcaa697 Fix all clippy warnings
Or silence the ones we don't care about.
2018-07-20 10:28:20 +03:00
Sebastian Dröge e0972ae1e5 Get rid of manual usage of callback_guard! 2018-06-24 14:52:50 +03:00
Sebastian Dröge 2085d170be Get rid of callback_guard! as unwinding through FFI is defined behaviour now and aborts 2018-06-24 14:42:11 +03:00
Sebastian Dröge 1192a027b4 Regenerated with latest GIR and GIR files 2018-05-21 11:55:19 +03:00
Sebastian Dröge 2cefd9aea6 Re-run everything through rustfmt 2018-04-25 11:13:14 +03:00
Sebastian Dröge 46d27e3e75 Regenerate everything with latest GIR 2018-04-23 20:45:15 +03:00
Sebastian Dröge 9a3ef2e9f1 Regenerate with latest GIR and update for the non-bitflags flags in -sys now 2018-04-04 10:47:12 +03:00
Sebastian Dröge 492c3d656c Run everything through rustfmt again 2018-04-01 11:57:58 +03:00
Sebastian Dröge a33fd41d02 Regenerate everything with latest gir 2018-03-20 11:52:29 +02:00
Sebastian Dröge c4cdcc7b68 Update gstreamer-pbutils 2018-03-19 10:32:07 +02:00
Sebastian Dröge 808ff293ec Regenerate everything with latest gir 2018-03-02 21:34:29 +02:00
Sebastian Dröge cd95920436 Run everything through rustfmt 2018-03-02 21:06:45 +02:00
Sebastian Dröge 7f265a23bd Rename DiscovererStreamInfo iterator simply to Iter and don't re-export it top-level 2018-03-02 21:02:30 +02:00
Thiago Santos c81e177cfb pbutils: add discoverer APIs
Fixes https://github.com/sdroege/gstreamer-rs/pull/84
2018-03-02 21:02:24 +02:00