@Test public void applicationQuery() {
QueryType type = GstQueryAPI.GSTQUERY_API.gst_query_type_register("application_test", "An application query");
Structure s = new Structure("test");
ApplicationQuery query = new ApplicationQuery(type, s);
s = query.getStructure();
query.dispose();
}
@Test public void segmentQuery() {
SegmentQuery query = new SegmentQuery(Format.TIME);
ClockTime end = ClockTime.fromMillis(1000);
query.setSegment(1.0, Format.TIME, 0, end.toNanos());