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

This commit is contained in:
Sebastian Dröge 2019-04-23 21:35:51 +03:00
parent 34c7a541f6
commit 8486fb0b41

View file

@ -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| {