Commits on Source (14)
-
Sebastian Dröge authoredd62d7886
-
Sebastian Dröge authored
It does not borrow from anything else and can be safely stored away. Only the VideoCodecState<InNegotiation> is actively borrowing from the element to ensure that it is only modified during negotiation in a safe way.
d2e508ec -
Sebastian Dröge authoredfedf4b66
-
Sebastian Dröge authored
Also ignore clippy::missing_safety_doc for now.
28cc5738 -
Sebastian Dröge authored
The BinFlags API was accidentally used for PadFlags, allowing to set BinFlags on pads which is not very useful.
3425bcfe -
API to create a caps containing multiple structures. Fix #231
7f07bac0 -
Rework the API to statically prevent users adding extra features if the builder has been created with builder_full_with_any_features(). It doesn't make sense to add extra features if all are already included.
c29a7638 -
Sebastian Dröge authored
The future would resolve into the return value of the closure that is called asynchronously on the thread pool, and allows asynchronous awaiting for it to finish. let res = element.call_async(|element| { element.set_state(gst::State::Playing) }).await; assert_eq!(res, Ok(gst::StateChangeSuccess::Success))
db1c341c -
Sebastian Dröge authored
Otherwise a message might arrive between popping, getting None and locking the mutex for storing the waker. In that case we would never be woken up.
b127f93c -
Sebastian Dröge authored
Most implementers will not care about default handlers for these signals so requiring to implement them is only unnecessarily verbose.
456ad9fb -
Sebastian Dröge authored
Don't derive Debug impls for generic types where the type parameters don't have to impl Debug themselves This allows to use MappedBuffer and similar types to be properly debug-printed. Also change VideoFrame/VideoFrameRef/RTPBuffer from a tuple struct to a struct with proper field names to make the code easier to understand.
5577e8a4 -
Sebastian Dröge authoredfc1e9099
-
Sebastian Dröge authored3a8ae5dd
-
Sebastian Dröge authored