Ignore:
Timestamp:
04/13/07 19:28:10 (5 years ago)
Author:
jlee
Message:

New ProgressDialog?; new directory handling; DnD still needs to be fixed now; other job types still need work

File:
1 edited

Legend:

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

    r157 r158  
    132132        } 
    133133         
    134         public MencoderCommand[] getMencoderCommands() { 
    135                 java.util.List mencoderCommandsList = new ArrayList(); 
     134        public DoSomeShit[] getShitToDo() { 
     135                java.util.List shitToDo = new ArrayList(); 
    136136                 
    137137                 
    138138                java.util.List commandList = MencoderCommand.prepareBaseCommandList(inputVideo, getOutputVideo(), mplayerPath, inputVideoInfo, 0); 
    139139                String[] command = (String[]) commandList.toArray(new String[]{}); 
    140                 mencoderCommandsList.add(new MencoderCommand("Encoding...", command)); 
     140                shitToDo.add(new MencoderCommand("Encoding...", command)); 
    141141                 
    142142                int length = inputVideoInfo.getLength(); 
     
    154154                                        command = new String[]{mplayerPath + MPlayerInfo.MENCODER_BIN, inputVideo, "-o", outputVideo, "-ovc", "copy", "-oac", "copy", "-ss", "" + (length / pieces) * i, "-endpos", "" + (length / pieces)}; 
    155155                                 
    156                                 mencoderCommandsList.add(new MencoderCommand("Splitting Part " + (i + 1) + " of " + pieces, command)); 
     156                                shitToDo.add(new MencoderCommand("Splitting Part " + (i + 1) + " of " + pieces, command)); 
    157157                        } 
    158158                } 
    159159                 
    160                 return (MencoderCommand[]) mencoderCommandsList.toArray(new MencoderCommand[]{}); 
     160                return (DoSomeShit[]) shitToDo.toArray(new DoSomeShit[]{}); 
    161161        } 
    162162} 
Note: See TracChangeset for help on using the changeset viewer.