Examples of grabFrame()


Examples of javax.media.control.FrameGrabbingControl.grabFrame()

 
  private boolean hasBufferToImage()
  {
    FrameGrabbingControl fg = (FrameGrabbingControl)player.getControl("javax.media.control.FrameGrabbingControl");
    Buffer buf = fg.grabFrame();   // take a snap
    if (buf == null) {
      //System.out.println("No grabbed frame");
      return false;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.