mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-07 00:22:29 +00:00
Update plugins/src/webrtcsink/imp.rs
Co-authored-by: Sebastian Dröge <slomo@coaxion.net>
This commit is contained in:
parent
300adda41b
commit
cf176bdd93
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ fn make_converter_for_video_caps(caps: &gst::Caps) -> Result<gst::Element, Error
|
||||||
for feature in caps.features(0) {
|
for feature in caps.features(0) {
|
||||||
if feature.contains(CUDA_MEMORY_FEATURE) {
|
if feature.contains(CUDA_MEMORY_FEATURE) {
|
||||||
return Ok(gst::parse_bin_from_description(
|
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,
|
true,
|
||||||
)?
|
)?
|
||||||
.upcast());
|
.upcast());
|
||||||
|
|
Loading…
Reference in a new issue