videoplayback/videoplaybackcontrols/tsrc/videoplaybackcontrols_test/src/mpxvpbc_stub.cpp
branchRCL_3
changeset 11 8970fbd719ec
parent 9 5294c000a26d
child 21 315810614048
equal deleted inserted replaced
10:112a725ff2c2 11:8970fbd719ec
    13 *
    13 *
    14 * Description:  Test Harness for VideoPlaybackControls
    14 * Description:  Test Harness for VideoPlaybackControls
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version: e003sa33#14 %
    18 // Version : %version: e003sa33#15 %
    19 
    19 
    20 
    20 
    21 // INCLUDES
    21 // INCLUDES
    22 #include <coeaui.h>
    22 #include <coeaui.h>
    23 #include <aknutils.h>
    23 #include <aknutils.h>
   406     }
   406     }
   407 
   407 
   408     iControlsController->AddFileDetailsL( iFileDetails );
   408     iControlsController->AddFileDetailsL( iFileDetails );
   409 }
   409 }
   410 
   410 
       
   411 //
       
   412 // -------------------------------------------------------------------------------------------------
       
   413 // CMPXVideoPlaybackContainer::AddEmptyTitleFileDetailsL()
       
   414 // -------------------------------------------------------------------------------------------------
       
   415 //
       
   416 void CMPXVideoPlaybackContainer::AddEmptyTitleFileDetailsL( TBool aHasVideoTrack )
       
   417 {
       
   418     MPX_DEBUG(_L("CMPXVideoPlaybackContainer::AddEmptyTitleFileDetailsL() "));
       
   419 
       
   420     iFileDetails->iAudioEnabled = ETrue;
       
   421     iFileDetails->iVideoEnabled = aHasVideoTrack;
       
   422     iFileDetails->iSeekable = ETrue;
       
   423     
       
   424     if ( iFileDetails->iVideoEnabled )
       
   425     {        
       
   426         iFileDetails->iVideoHeight = 176;
       
   427         iFileDetails->iVideoWidth = 144;
       
   428         
       
   429         iFileDetails->iBitRate = 8000;
       
   430         iFileDetails->iMimeType = _L("video/3gp").Alloc();        
       
   431     }
       
   432 
       
   433     if ( iFileDetails->iPlaybackMode == EMPXVideoLiveStreaming )
       
   434     {
       
   435         iFileDetails->iSeekable = EFalse;
       
   436     }
       
   437 
       
   438     iControlsController->AddFileDetailsL( iFileDetails );
       
   439 }
       
   440 
   411 //  End of File
   441 //  End of File