videoplayback/videohelix/src/mpxvideoplaybackstate.cpp
changeset 28 c48470be1ba7
parent 24 7d93ee07fb27
child 46 adbe7d5ba2f5
equal deleted inserted replaced
24:7d93ee07fb27 28:c48470be1ba7
    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,