tests/appsrc: remove unrelated jitterbuffer "tests"

This was mistakenly staged during development for !161
This commit is contained in:
Mathieu Duponchelle 2019-09-06 21:13:37 +02:00
parent 9d7e304fc6
commit 2c7775125a

View file

@ -23,8 +23,6 @@ extern crate gstreamer_check as gst_check;
extern crate gstthreadshare; extern crate gstthreadshare;
use gstthreadshare::{RTPJitterBuffer, RTPJitterBufferItem};
fn init() { fn init() {
use std::sync::Once; use std::sync::Once;
static INIT: Once = Once::new(); static INIT: Once = Once::new();
@ -39,22 +37,6 @@ fn init() {
fn test_push() { fn test_push() {
init(); 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 mut h = gst_check::Harness::new("ts-appsrc");
let caps = gst::Caps::new_simple("foo/bar", &[]); let caps = gst::Caps::new_simple("foo/bar", &[]);