fallbackswitch: Don't configure a framerate in the test

The tests assume that buffers have no known duration and would deadlock
otherwise because timeouts are scheduled to the end of a buffer.
This commit is contained in:
Sebastian Dröge 2022-04-13 14:23:05 +03:00 committed by Sebastian Dröge
parent f5260f9b36
commit 4aa00c9eca

View file

@ -530,7 +530,7 @@ fn setup_pipeline(
.field("format", "ARGB")
.field("width", 320i32)
.field("height", 240i32)
.field("framerate", gst::Fraction::new(1, 1))
.field("framerate", gst::Fraction::new(0, 1))
.build(),
);
@ -575,7 +575,7 @@ fn setup_pipeline(
.field("format", "ARGB")
.field("width", 160i32)
.field("height", 120i32)
.field("framerate", gst::Fraction::new(1, 1))
.field("framerate", gst::Fraction::new(0, 1))
.build(),
);