mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-26 21:41:03 +00:00
threadshare/tcpclientsrc: Fix build of test with changes gst::Sample API
This commit is contained in:
parent
34c7a541f6
commit
8486fb0b41
1 changed files with 1 additions and 1 deletions
|
@ -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| {
|
||||
|
|
Loading…
Reference in a new issue