Nokia 9300: Problem with video player
| Fri, 2005-05-06 08:29 | |
|
hello!
I've experienced problem with CVideoPlayerUtility: when leaves application (DoStop ()), received "WSERV 59" error. Sample code from Nokia Forum, e.g.: Code: void CVideoEngine::DoStop () { if (iMyState != EPPlaying && iMyState != EPPaused) return ; if (iProgressUpdater->IsActive ()) { iProgressUpdater->Cancel (); } iPlayPosition = 0; iPlayer->Stop (); iPlayer->Close (); iMyState = EPStopped; } and Code: void CVideoEngine::MvpuoPlayComplete (TInt aError) { if (iProgressUpdater->IsActive ()) { iProgressUpdater->Cancel (); } iPlayPosition = 0; iCallback->PlayCompletedL (aError); iMyState = EPStopped; iPlayer->Close (); } Where i'm wrong? |
|






Forum posts: 66
Y r u closing the player two times