videoplayback/videohelix/src/mpxvideoplaybackstate.cpp
changeset 39 f6d44a0cd476
parent 38 ff53afa8ad05
child 40 13331705e488
equal deleted inserted replaced
38:ff53afa8ad05 39:f6d44a0cd476
    14 * Description:  This class plays local video file
    14 * Description:  This class plays local video file
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: 43 %
    19 // Version : %version: 44 %
    20 
    20 
    21 
    21 
    22 //
    22 //
    23 //  INCLUDE FILES
    23 //  INCLUDE FILES
    24 //
    24 //
  1793     MPX_ENTER_EXIT(_L("CMPXBufferingState::HandleLoadingComplete()"),
  1793     MPX_ENTER_EXIT(_L("CMPXBufferingState::HandleLoadingComplete()"),
  1794                    _L("error = %d"), aError );
  1794                    _L("error = %d"), aError );
  1795 
  1795 
  1796     if ( aError == KErrNone )
  1796     if ( aError == KErrNone )
  1797     {
  1797     {
  1798         if ( iVideoPlaybackCtlr->iAppInForeground )
  1798         if ( iVideoPlaybackCtlr->iPlaybackMode->CanPlayNow() )
  1799         {
  1799         {
  1800             iVideoPlaybackCtlr->ChangeState( EMPXVideoPlaying );
  1800             iVideoPlaybackCtlr->ChangeState( EMPXVideoPlaying );
  1801 
  1801 
  1802             iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent(
  1802             iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent(
  1803                                                     MMPXPlaybackPluginObserver::EPPlaying,
  1803                                                     MMPXPlaybackPluginObserver::EPPlaying,