Commit 8486fb0b authored by Sebastian Dröge's avatar Sebastian Dröge

threadshare/tcpclientsrc: Fix build of test with changes gst::Sample API

parent 34c7a541
Pipeline #32751 passed with stages
in 9 minutes and 5 seconds
......@@ -111,7 +111,7 @@ fn test_push() {
assert!(eos);
let samples = samples.lock().unwrap();
for sample in samples.iter() {
assert_eq!(Some(&caps), sample.get_caps().as_ref());
assert_eq!(Some(caps.as_ref()), sample.get_caps());
}
let total_received_size = samples.iter().fold(0, |acc, sample| {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment