equal
deleted
inserted
replaced
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: 45 % |
19 // Version : %version: 46 % |
20 |
20 |
21 |
21 |
22 // |
22 // |
23 // INCLUDE FILES |
23 // INCLUDE FILES |
24 // |
24 // |
1635 MPX_ENTER_EXIT(_L("CMPXPausedState::HandleCustomPlay()")); |
1635 MPX_ENTER_EXIT(_L("CMPXPausedState::HandleCustomPlay()")); |
1636 |
1636 |
1637 if ( iVideoPlaybackCtlr->iPlaybackMode->CanPlayNow() ) |
1637 if ( iVideoPlaybackCtlr->iPlaybackMode->CanPlayNow() ) |
1638 { |
1638 { |
1639 IssuePlayCommand( EMPXVideoPlaying, MMPXPlaybackPluginObserver::EPPlaying, EFalse ); |
1639 IssuePlayCommand( EMPXVideoPlaying, MMPXPlaybackPluginObserver::EPPlaying, EFalse ); |
|
1640 } |
|
1641 else |
|
1642 { |
|
1643 // As the custom play command could not resume the playback. Send a pause event to |
|
1644 // the view though the MPX FW to get the view state in sync playback plugin. |
|
1645 iVideoPlaybackCtlr->iMPXPluginObs->HandlePluginEvent( MMPXPlaybackPluginObserver::EPPaused, |
|
1646 0, |
|
1647 KErrNone ); |
1640 } |
1648 } |
1641 } |
1649 } |
1642 |
1650 |
1643 // ------------------------------------------------------------------------------------------------- |
1651 // ------------------------------------------------------------------------------------------------- |
1644 // CMPXPausedState::HandleUnexpectedError |
1652 // CMPXPausedState::HandleUnexpectedError |