Update plugins/src/webrtcsink/imp.rs

Co-authored-by: Sebastian Dröge <slomo@coaxion.net>
This commit is contained in:
Thibault Saunier 2022-01-03 11:02:59 -05:00 committed by Mathieu Duponchelle
parent 300adda41b
commit cf176bdd93

View file

@ -249,7 +249,7 @@ fn make_converter_for_video_caps(caps: &gst::Caps) -> Result<gst::Element, Error
for feature in caps.features(0) {
if feature.contains(CUDA_MEMORY_FEATURE) {
return Ok(gst::parse_bin_from_description(
"cudaupload ! cudaconvert ! cudascale ! videorate drop-only=true",
"cudaupload ! cudaconvert ! cudascale ! videorate drop-only=true skip-to-first=true",
true,
)?
.upcast());