mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-06-17 21:50:33 +00:00
When an encoder was not supported by the `VideoEncoder` `bitrate` accessors, an `unimplemented` panic would occur which would poison `state` & `settings` `Mutex`s resulting in other threads panicking, notably entering `end_session()`, which lead to many failures in `BinImplExt::parent_remove_element()` until a segmentation fault ended the process. This was observed using `vaapivp9enc`. This commit logs a warning if an encoder isn't supported by the `bitrate` accessors and silently by-passes `bitrate`-related operations when unsupported. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1534> |
||
---|---|---|
.. | ||
homegrown_cc.rs | ||
imp.rs | ||
mod.rs | ||
pad.rs |