Changeset 37

Show
Ignore:
Timestamp:
02/15/08 01:55:32 (6 months ago)
Author:
sip
Message:

Fixed mosaic numbers

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • media/include/videomixer.h

    r34 r37  
    1616        mosaic2x2 = 1, 
    1717        mosaic3x3 = 2, 
    18         mosaic3p4 = 4
    19         mosaic1p7 = 5
    20         mosaic1p5 = 6 
     18        mosaic3p4 = 3
     19        mosaic1p7 = 4
     20        mosaic1p5 = 5 
    2121} CompositionType; 
    2222 
  • media/src/asymmetricmosaic.cpp

    r34 r37  
    3636        switch(mosaicType) 
    3737        { 
     38                case 3: 
     39                        //Set num of slots 
     40                        mosaicNum = 7; 
     41                        break; 
    3842                case 4: 
    3943                        //Set num of slots 
    40                         mosaicNum = 7; 
    41                         break; 
    42                 case 5: 
    43                         //Set num of slots 
    4444                        mosaicNum = 8; 
    4545                        break; 
    46                 case 6:        
     46                case 5:        
    4747                        //Set num of slots 
    4848                        mosaicNum = 6; 
     
    106106        switch(mosaicType) 
    107107        { 
    108                 case 4
     108                case 3
    109109                        /********************************************** 
    110110                        *       -------------------- 
     
    145145                        mosaicHeight = (int)mosaicTotalHeight/cols; 
    146146                        break; 
    147                 case 5
     147                case 4
    148148                        /********************************************** 
    149149                        *       ---------------- 
     
    197197                        } 
    198198                        break; 
    199                 case 6
     199                case 5
    200200                        /********************************************** 
    201201                        *       ----------------- 
Copyright 2006 - Sergio García Murillo
Powered by Trac - Edgewall Software