javauis/mmapi_qt/baseline/src/cmmasnapshot.cpp
changeset 49 35baca0e7a2e
parent 26 dc7c549001d5
equal deleted inserted replaced
35:85266cc22c7f 49:35baca0e7a2e
    89     iSettings = settings;
    89     iSettings = settings;
    90 
    90 
    91     // take snapshot from player. RunL is called when image is ready
    91     // take snapshot from player. RunL is called when image is ready
    92     // or error occures
    92     // or error occures
    93     iState = ETakingSnapshot;
    93     iState = ETakingSnapshot;
       
    94     LOG2(EJavaMMAPI, EInfo, "CMMASnapshot::TakeSnapshotL::iSettings->iWidth = %d, iSettings->iHeight = %d",
       
    95          iSettings->iWidth, iSettings->iHeight);
    94     TSize snapshotSize(iSettings->iWidth, iSettings->iHeight);
    96     TSize snapshotSize(iSettings->iWidth, iSettings->iHeight);
    95     iEncoding = iGUIPlayer->SnapshoterL()->TakeSnapshotL(&iStatus,
    97     iEncoding = iGUIPlayer->SnapshoterL()->TakeSnapshotL(&iStatus,
    96                 snapshotSize,
    98                 snapshotSize,
    97                 *iSettings);
    99                 *iSettings);
    98     SetActive();
   100     SetActive();