- 16 Dec, 2017 19 commits
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
The origin in protection events is optional, the stream id in stream-start events is not. Also return a segment reference instead of a segment copy when parsing a segment event.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
It can contain no value. Also use &ToSendValue instead of an actual value for building the message.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
Also ::copy_deep() can fail, return an Option<_>
-
Sebastian Dröge authored
The implementation for Option<_> is doing exactly what we did manually here.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
These are gst::ClockTime, not u64
-
Sebastian Dröge authored
There's a buffer() for immutable references on all types now, and a buffer_mut() for getting a mutable reference on the writable videoframe Also some minor other cleanup
-
Sebastian Dröge authored
-
Sebastian Dröge authored
Move the constructor of the builder to the main type
-
Sebastian Dröge authored
Various nullability, types and usability fixes. The player configuration is a new type now that can deref to a structure
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- 13 Dec, 2017 4 commits
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
No need to map the buffer again, we can just compare the slice directly.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- 10 Dec, 2017 7 commits
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
Replace AppSrcCallbacks/AppSinkCallbacks with a builder so that no empty closures have to be provided for unused callbacks
-
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.
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
Otherwise we conflict with GLib translation traits, which causes some annoyances.
-
Sebastian Dröge authored
-
- 09 Dec, 2017 3 commits
-
-
Sebastian Dröge authored
FormatValue is now renamed to GenericFormattedValue and the API slightly changed. In addition there is now a FormattedValue trait, and a SpecificFormattedValue trait plus types for Bytes, Buffers and the existing ClockTime. This allows to create functions like Pad::query_duration<F: SpecificFormattedValue>() -> Option<F> and doesn't require the caller to unwrap the generic value anymore, which is completely unneeded in these cases. In addition, Segment became FormattedSegment<T> with API to upcast/downcast between the specific formatted values and the generic formatted value. This greatly simplifies usage of Segments.
-
Sebastian Dröge authored
This is guaranteed to be of the correct type.
-
Sebastian Dröge authored
We need to scale the number of samples, not the buffer size.
-
- 06 Dec, 2017 2 commits
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
- 05 Dec, 2017 5 commits
-
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-
Sebastian Dröge authored
And implement the Value traits for ClockTime
-
Sebastian Dröge authored
-
Sebastian Dröge authored
-