comparison src/com/aurellem/capture/Capture.java @ 72:dd97f65f940c

finish removing xuggler.
author Robert McIntyre <rlm@mit.edu>
date Mon, 10 Mar 2014 18:57:00 -0400
parents 2c50a0c99715
children
comparison
equal deleted inserted replaced
71:2c50a0c99715 72:dd97f65f940c
88 (final Application app, final File file) throws IOException{ 88 (final Application app, final File file) throws IOException{
89 final AbstractVideoRecorder videoRecorder; 89 final AbstractVideoRecorder videoRecorder;
90 90
91 if (file.getCanonicalPath().endsWith(".avi")){ 91 if (file.getCanonicalPath().endsWith(".avi")){
92 videoRecorder = new AVIVideoRecorder(file);} 92 videoRecorder = new AVIVideoRecorder(file);}
93 else if (file.isDirectory()){ 93 else {
94 videoRecorder = new FileVideoRecorder(file);} 94 videoRecorder = new FileVideoRecorder(file);}
95 else { 95 //else {
96 //videoRecorder = new XuggleVideoRecorder(file); 96 //videoRecorder = new XuggleVideoRecorder(file);
97 } 97 //}
98 98
99 Callable<Object> thunk = new Callable<Object>(){ 99 Callable<Object> thunk = new Callable<Object>(){
100 public Object call(){ 100 public Object call(){
101 101
102 ViewPort viewPort = 102 ViewPort viewPort =