Changeset 33376 in osm for applications/editors/josm/plugins/videomapping
- Timestamp:
- 2017-06-07T14:23:04+02:00 (8 years ago)
- Location:
- applications/editors/josm/plugins/videomapping
- Files:
-
- 5 added
- 3 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/videomapping/.classpath
r32680 r33376 6 6 <classpathentry combineaccessrules="false" kind="src" path="/JOSM-jna"/> 7 7 <classpathentry combineaccessrules="false" kind="src" path="/JOSM-log4j"/> 8 <classpathentry kind="lib" path="lib/vlcj-3.10. 0.jar" sourcepath="lib/vlcj-3.10.0-sources.jar">8 <classpathentry kind="lib" path="lib/vlcj-3.10.1.jar" sourcepath="lib/vlcj-3.10.1-sources.jar"> 9 9 <attributes> 10 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-videomapping/lib/vlcj-3.10. 0-javadoc.jar!/"/>10 <attribute name="javadoc_location" value="jar:platform:/resource/JOSM-videomapping/lib/vlcj-3.10.1-javadoc.jar!/"/> 11 11 </attributes> 12 12 </classpathentry> -
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/video/VideoEngine.java
r32630 r33376 276 276 @Override 277 277 public void backward(MediaPlayer arg0) { } 278 /* 279 public void buffering(MediaPlayer arg0) { 280 281 } 282 */ 278 283 279 @Override 284 280 public void error(MediaPlayer arg0) { } … … 292 288 @Override 293 289 public void lengthChanged(MediaPlayer arg0, long arg1) { } 294 /* 290 /* 295 291 public void mediaChanged(MediaPlayer arg0) { 296 292 -
applications/editors/josm/plugins/videomapping/src/org/openstreetmap/josm/plugins/videomapping/video/VideoPlayer.java
r32630 r33376 42 42 private JToggleButton loop, mute; 43 43 private JSlider speed; 44 // private DateFormat videoTimeFormat;45 44 private VideoEngine videoengine; 46 45 private long jumpLength; … … 53 52 public VideoPlayer(DateFormat videoTimeFormat) throws HeadlessException { 54 53 super(); 55 // this.videoTimeFormat=videoTimeFormat;56 54 //setup playback notifications 57 55 videoengine = new VideoEngine(this); … … 161 159 speed.setOrientation(Adjustable.VERTICAL); 162 160 Hashtable<Integer, JLabel> labelTable = new Hashtable<>(); 163 labelTable.put( new Integer(100), new JLabel("1x"));164 labelTable.put( new Integer(50), new JLabel("-2x"));165 labelTable.put( new Integer(200), new JLabel("2x"));161 labelTable.put(100, new JLabel("1x")); 162 labelTable.put(50, new JLabel("-2x")); 163 labelTable.put(200, new JLabel("2x")); 166 164 speed.setLabelTable(labelTable); 167 165 speed.setPaintLabels(true);
Note:
See TracChangeset
for help on using the changeset viewer.