mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 13:31:00 +00:00
webrtc/utils: fix typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1289>
This commit is contained in:
parent
516c623df5
commit
dbeb65da06
1 changed files with 3 additions and 3 deletions
|
@ -494,9 +494,9 @@ impl Codec {
|
||||||
|
|
||||||
fn get_encoder_for_caps(
|
fn get_encoder_for_caps(
|
||||||
caps: &gst::Caps,
|
caps: &gst::Caps,
|
||||||
decoders: &glib::List<gst::ElementFactory>,
|
encoders: &glib::List<gst::ElementFactory>,
|
||||||
) -> Option<gst::ElementFactory> {
|
) -> Option<gst::ElementFactory> {
|
||||||
decoders
|
encoders
|
||||||
.iter()
|
.iter()
|
||||||
.find(|factory| {
|
.find(|factory| {
|
||||||
factory.static_pad_templates().iter().any(|template| {
|
factory.static_pad_templates().iter().any(|template| {
|
||||||
|
@ -570,7 +570,7 @@ impl Codec {
|
||||||
info.encoder
|
info.encoder
|
||||||
.create()
|
.create()
|
||||||
.build()
|
.build()
|
||||||
.with_context(|| format!("Creating payloader {}", info.encoder.name()))
|
.with_context(|| format!("Creating encoder {}", info.encoder.name()))
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue