mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 13:01:07 +00:00
webrtcsink: Fix new clippy warning
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1445>
This commit is contained in:
parent
d7d2d67558
commit
91abc62ad0
1 changed files with 3 additions and 3 deletions
|
@ -293,7 +293,7 @@ impl CongestionController {
|
|||
&mut self,
|
||||
element: &super::BaseWebRTCSink,
|
||||
stats: &gst::StructureRef,
|
||||
encoders: &mut Vec<VideoEncoder>,
|
||||
encoders: &mut [VideoEncoder],
|
||||
) {
|
||||
let loss_percentage = stats.get::<f64>("packet-loss-pct").unwrap();
|
||||
|
||||
|
@ -318,7 +318,7 @@ impl CongestionController {
|
|||
&mut self,
|
||||
element: &super::BaseWebRTCSink,
|
||||
stats: &gst::StructureRef,
|
||||
encoders: &mut Vec<VideoEncoder>,
|
||||
encoders: &mut [VideoEncoder],
|
||||
) {
|
||||
if let Some(twcc_stats) = lookup_twcc_stats(stats) {
|
||||
let op = self.update_delay(element, &twcc_stats, self.lookup_rtt(stats));
|
||||
|
@ -329,7 +329,7 @@ impl CongestionController {
|
|||
fn apply_control_op(
|
||||
&mut self,
|
||||
element: &super::BaseWebRTCSink,
|
||||
encoders: &mut Vec<VideoEncoder>,
|
||||
encoders: &mut [VideoEncoder],
|
||||
control_op: CongestionControlOp,
|
||||
controller_type: ControllerType,
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue