When I try to play the video using buffer, i am getting -5 error code in MvpuoPrepareComplete.
I am able to open the same file using OpenFileL() method and able to play that 3gp file. In that scenario I am not getting any such error.
Here is the code snippet for OpenDesL() method which is not working:
lErrCode = lFileSession.Connect();
LOG(_L("Filesession open err = %d"),lErrCode);
lErrCode = lFile.Open(lFileSession,lFilename,EFileRead);
LOG(_L("File open err = %d"),lErrCode);
LOG(_L("File Size = %d"),lFileSize);
if(lFileSize < 20000)
LOG(_L("Opening buffer err = %d: %S"),unsupported, &(iMediaFile->Des()));
lErrCode = unsupported;
LOG(_L("File too large to open")));
Please help me whats wrong and why I am getting that KErrNotSupported(-5) error code