Ignore:
Timestamp:
04/14/07 20:11:39 (5 years ago)
Author:
jlee
Message:

JoinVideos? made modular using ConcatenateShit? class. Now everything compiles successfully. There are still a lot of things left to do before useable again:

  • Reimplement DVD in SingleVideo? (=> automatic Matroska/OGM support thanks to KuwaiiRiver?'s code)
  • Add error detection in all Jobs
  • Close ProgressDialog? when done with Jobs and show errors if any

Things I want to do before 18:

Yes...I'm happy with the way things are going. 18 will almost be the way this program should have always been.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/thestaticvoid/iriverter/ConverterUI.java

    r162 r163  
    768768        } 
    769769         
    770         private JoinVideos newJoinVideos() { 
     770        private void newJoinVideos() { 
    771771                CTabItem tabItem = new CTabItem(tabFolder, SWT.NONE); 
    772                 JoinVideos joinVideos = new JoinVideos(tabFolder, SWT.NONE, tabItem); 
    773                 tabItem.setControl(joinVideos); 
    774                 tabFolder.setSelection(tabItem); 
    775                 tabChanged(false); 
    776                  
    777                 return joinVideos; 
     772                JoinVideos joinVideos = null; 
     773                 
     774                boolean canceled = false; 
     775                while (!canceled) 
     776                        try { 
     777                                joinVideos = new JoinVideos(tabFolder, SWT.NONE, tabItem, MPlayerInfo.getMPlayerPath());  
     778                                tabItem.setControl(joinVideos); 
     779                                tabFolder.setSelection(tabItem); 
     780                                tabChanged(false); 
     781                                canceled = true; 
     782                        } catch (MPlayerNotFoundException mpe) { 
     783                                canceled = new MPlayerPathDialog(shell).open(); 
     784                        } catch (Exception e) { 
     785                                tabItem.dispose(); 
     786                                canceled = true; 
     787                        } 
    778788        } 
    779789         
Note: See TracChangeset for help on using the changeset viewer.