diff src/com/aurellem/capture/examples/HelloVideoRecording.java @ 56:afc437f637bd

improved formating
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Dec 2011 19:25:27 -0600
parents 8a091a5f48fa
children
line wrap: on
line diff
     1.1 --- a/src/com/aurellem/capture/examples/HelloVideoRecording.java	Sat Dec 03 19:18:38 2011 -0600
     1.2 +++ b/src/com/aurellem/capture/examples/HelloVideoRecording.java	Sat Dec 03 19:25:27 2011 -0600
     1.3 @@ -9,8 +9,8 @@
     1.4  import com.aurellem.capture.IsoTimer;
     1.5  import com.jme3.app.Application;
     1.6  
     1.7 -/** Recording Video from your Application is simple.  If all you
     1.8 - *  want to do is record Video, then follow the following steps.
     1.9 +/** Recording Video from your Application is simple.  If all you want
    1.10 + *  to do is record Video, then follow the following steps.
    1.11   * 
    1.12   *  1.) Set the Application's timer to an IsoTimer.  The framerate of
    1.13   *  the IsoTimer will determine the framerate of the resulting video.
    1.14 @@ -27,12 +27,12 @@
    1.15   */
    1.16  public class HelloVideoRecording {
    1.17  
    1.18 -	public static void main(String[] ignore) throws IOException {
    1.19 -		Application app = new HelloLoop();
    1.20 -		File video = File.createTempFile("JME-simple-video", ".avi");
    1.21 -		app.setTimer(new IsoTimer(60));
    1.22 -		Capture.captureVideo(app, video);
    1.23 -		app.start();
    1.24 -		System.out.println(video.getCanonicalPath());
    1.25 -	}
    1.26 +    public static void main(String[] ignore) throws IOException {
    1.27 +	Application app = new HelloLoop();
    1.28 +	File video = File.createTempFile("JME-simple-video", ".avi");
    1.29 +	app.setTimer(new IsoTimer(60));
    1.30 +	Capture.captureVideo(app, video);
    1.31 +	app.start();
    1.32 +	System.out.println(video.getCanonicalPath());
    1.33 +    }
    1.34  }