mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-23 02:26:35 +00:00
tests/appsrc: remove unrelated jitterbuffer "tests"
This was mistakenly staged during development for !161
This commit is contained in:
parent
9d7e304fc6
commit
2c7775125a
1 changed files with 0 additions and 18 deletions
|
@ -23,8 +23,6 @@ extern crate gstreamer_check as gst_check;
|
|||
|
||||
extern crate gstthreadshare;
|
||||
|
||||
use gstthreadshare::{RTPJitterBuffer, RTPJitterBufferItem};
|
||||
|
||||
fn init() {
|
||||
use std::sync::Once;
|
||||
static INIT: Once = Once::new();
|
||||
|
@ -39,22 +37,6 @@ fn init() {
|
|||
fn test_push() {
|
||||
init();
|
||||
|
||||
let jb = RTPJitterBuffer::new();
|
||||
let item = RTPJitterBufferItem::new(
|
||||
gst::Buffer::new(),
|
||||
gst::ClockTime(Some(57)),
|
||||
gst::ClockTime(Some(72)),
|
||||
135,
|
||||
142,
|
||||
);
|
||||
jb.insert(item);
|
||||
let (item, percent) = jb.pop();
|
||||
|
||||
let buffer = item.get_buffer();
|
||||
eprintln!("Buffer: {:?}", buffer);
|
||||
|
||||
eprintln!("Percent, pts: {} , {}", percent, item.get_pts());
|
||||
|
||||
let mut h = gst_check::Harness::new("ts-appsrc");
|
||||
|
||||
let caps = gst::Caps::new_simple("foo/bar", &[]);
|
||||
|
|
Loading…
Reference in a new issue