Commit graph

11 commits

Author SHA1 Message Date
Sebastian Dröge bd817c03d2 Implement AppSrc get/set_latency() manually
These are gst::ClockTime, not u64
2017-12-16 14:04:36 +02:00
Sebastian Dröge c9636bca2e Allow None caps for appsrc/appsink
Thanks to Guillaume Desmottes for noticing
2017-11-17 16:53:37 +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 96d00c4ecc Add BaseSrc/BaseSink and URIHandler base types to AppSrc/AppSink
And also depend on the gstreamer-base bindings for that.
2017-09-15 14:54:32 +03:00
Sebastian Dröge 342d5ab935 Add signal connectors for property notifications
Have to hide some properties again at a later time, which have actual
getter/setter functions already. We only need the notification signals
for those.

Depends on the GIR patch in https://github.com/gtk-rs/gir/pull/441
2017-08-18 17:43:55 +03:00
Philippe Normand 9540ddd596 gstreamer, gstreamer-app: fix Structure mutability 2017-08-11 15:42:28 +03:00
Sebastian Dröge 86fc001e35 Regenerate code with new GIR and suppress various clippy warnings in generated code
Now only a few are left in the manually written code.
2017-08-03 21:56:39 +03:00
Sebastian Dröge 7ff8a5c460 Finish appsink bindings 2017-08-01 17:52:11 +03:00
Sebastian Dröge ffa474e1e9 Finish appsrc bindings 2017-08-01 15:42:25 +01:00
Sebastian Dröge 7b98b2e7da Make GstApp bindings compile 2017-08-01 14:52:54 +01:00
Sebastian Dröge 99c3c61f59 Add initial, untested version of GstApp bindings 2017-08-01 14:06:04 +01:00