videoplayback/videohelix/src/mpxvideoseeker.cpp
branchRCL_3
changeset 45 baf439b22ddd
parent 14 8970fbd719ec
equal deleted inserted replaced
26:67eb01668b0e 45:baf439b22ddd
    13 *
    13 *
    14 * Description: Seek or trickplay
    14 * Description: Seek or trickplay
    15  *
    15  *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: 9 %
    18 // Version : %version: 10 %
    19 
    19 
    20 
    20 
    21 // INCLUDE FILES
    21 // INCLUDE FILES
    22 #include <mpxplaybackpluginobserver.h>
    22 #include <mpxplaybackpluginobserver.h>
    23 
    23 
    35 const TInt KSpeedInterval(125000);        // 125 msec
    35 const TInt KSpeedInterval(125000);        // 125 msec
    36 const TInt KDurationA(90000000);          // 90 sec
    36 const TInt KDurationA(90000000);          // 90 sec
    37 const TInt KDurationB(180000000);         // 180 sec
    37 const TInt KDurationB(180000000);         // 180 sec
    38 const TInt64 KSpeedAIncrements(2000000);  // 2 sec
    38 const TInt64 KSpeedAIncrements(2000000);  // 2 sec
    39 const TInt64 KSpeedBIncrements(4000000);  // 4 sec
    39 const TInt64 KSpeedBIncrements(4000000);  // 4 sec
       
    40 const TInt64 KSpeedOffset(3000000);       // 3 sec
    40 #endif
    41 #endif
    41 
    42 
    42 // ============================ MEMBER FUNCTIONS ===================================================
    43 // ============================ MEMBER FUNCTIONS ===================================================
    43 
    44 
    44 // -------------------------------------------------------------------------------------------------
    45 // -------------------------------------------------------------------------------------------------
   309         {
   310         {
   310             iIncrements = KSpeedBIncrements;
   311             iIncrements = KSpeedBIncrements;
   311         }
   312         }
   312         else
   313         else
   313         {
   314         {
   314             iIncrements = (TInt)( iDuration / 200 ) + 3;
   315             iIncrements = (TInt)( iDuration / 200 ) + KSpeedOffset;
   315         }
   316         }
   316     }
   317     }
   317 
   318 
   318     if ( !iForward )
   319     if ( !iForward )
   319     {
   320     {