Package org.gstreamer.query

Examples of org.gstreamer.query.SeekingQuery$API


   * Example test method
   */

  @Test
  public void simple() {
    _stem_ impl = new _stem_Impl();
   
    impl.say("Hello World");
  }
View Full Code Here


        assertEquals("Format not set correctly", Format.TIME, query.getFormat());
        assertEquals("Start time not set correctly", 0, query.getStart());
        assertEquals("End time not set correctly", end.toNanos(), query.getEnd());
    }
    @Test public void seekingQuery() {
        SeekingQuery query = new SeekingQuery(Format.TIME);
        ClockTime start = ClockTime.ZERO;
        ClockTime end = ClockTime.fromMillis(1000);
        query.setSeeking(Format.TIME, true, start.toNanos(), end.toNanos());
        assertEquals("Format not set", Format.TIME, query.getFormat());
        assertEquals("Start time not set", start.toNanos(), query.getStart());
        assertEquals("End time not set", end.toNanos(), query.getEnd());
    }
View Full Code Here

TOP

Related Classes of org.gstreamer.query.SeekingQuery$API

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.