Commit graph

10 commits

Author SHA1 Message Date
Sebastian Dröge
5c93e134a7 Regenerate everything with new version of gir 2018-12-08 14:58:14 +02:00
Sebastian Dröge
46d27e3e75 Regenerate everything with latest GIR 2018-04-23 20:45:15 +03:00
Sebastian Dröge
a65016bea1 Add gst::Object as parent class of gst_player::Player 2017-12-30 15:34:41 +02:00
Sebastian Dröge
7dc2e43db3 Clean-up GstPlayer bindings
Various nullability, types and usability fixes. The player configuration
is a new type now that can deref to a structure
2017-12-16 11:18:00 +02:00
Philippe Normand
dbe8eb9bd9 gstreamer-player: regen for overridden signals
In the previous generated player bindings the position-updated was Send+Sync but
only Send is actually needed. In addition to this change the position-updated,
duration-changed and seek-done signals now invoke their handler with a
gst::ClockTime value instead of u64.
2017-12-10 13:34:20 +02:00
Sebastian Dröge
c39c0c7264 Implement ClockTime as ClockTime(Option<u64>)
And also implement a FormatValue type that holds a value together with
its format to make usage of the positions/durations/seek positions/etc
more convenient and safe.

Fixes https://github.com/sdroege/gstreamer-rs/issues/3
2017-11-11 11:57:29 +01:00
Sebastian Dröge
e0e0f56b52 Fix/hide various clippy warnings in gstreamer-player
And let PlayerGMainContextSignalDispatcher::new() return the correct
type
2017-09-10 15:21:26 +03:00
Sebastian Dröge
33fb38efd9 Remove traits for things that are not subclassed 2017-08-17 14:50:25 +03:00
Philippe Normand
1e12354cd5 GstPlayer: make it build and add simple example 2017-08-11 15:42:28 +03:00
Sebastian Dröge
38b97a14ad Add initial, untested version of GstPlayer bindings 2017-08-11 15:41:20 +03:00