Libmpv-rs version 2.0.0
This release fixes UB around events that unfortunately got introduced during a recent refactor.
The recently added MpvNode
s can now be observed as properties.
Changes:
- Add method
Mpv::with_initializer
to set options before initialization - [breaking] Borrow
&mut self
inwait_event
to disallow using two events where the first points to data freed in the secondwait_event
call - [breaking]
PropertyData<'_>
is no longerClone
orPartialEq
,Event<'_>
is no longerClone
to avoid cloning/comparingMpvNode
Contributors:
@yaymukund (MpvNode
changes)