×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    81

    capturing video question

    hi,
    i am using the capturing video in Camera exemple in the forum.
    there is error KErrNotSupported( if the frame format is not a bitmap).

    this is my code :
    void CCameraCaptureEngine::FrameBufferReady(MFrameBuffer* aFrameBuffer,
    TInt aError)
    {
    if (aError==KErrNone)
    {
    TInt i= aFrameBuffer->iIndexOfFirstFrameInBuffer;

    User::LeaveIfError(iBitmapSave->Create(TSize(144,176), EColor64K));

    iBitmapSave->Reset();
    TInt err;
    err = iBitmapSave->Duplicate( aFrameBuffer->FrameL(i)->Handle() );
    // return KErrNotSupported

    if( err == KErrNone )
    {
    TRAP(err, DrawL()); // draw post-exposure image
    }
    }
    aFrameBuffer->Release();
    }

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Bangalore,India
    Posts
    2,146

    Re: capturing video question

    One thread per Q is enough, so please stick to the one here :-

    http://discussion.forum.nokia.com/fo...d.php?t=170253
    Cheers,
    Mayank

  3. #3
    Regular Contributor
    Join Date
    Nov 2008
    Posts
    81

    Re: capturing video question

    sorry

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •