videoplayback/hbvideoplaybackview/viewsrc/mpxvideoplaybackdisplayhandler.cpp
changeset 24 7d93ee07fb27
parent 20 b9e04db066d4
child 47 45e72b57a2fd
equal deleted inserted replaced
20:b9e04db066d4 24:7d93ee07fb27
    13 *
    13 *
    14 * Description:   Implementation of video playback display handler
    14 * Description:   Implementation of video playback display handler
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 // Version : %version:  20 %
    18 // Version : %version:  21 %
    19 
    19 
    20 #include <sysutil.h>
    20 #include <sysutil.h>
    21 #include <s32file.h>
    21 #include <s32file.h>
    22 #include <mpxcommand.h>
    22 #include <mpxcommand.h>
    23 #include <mpxcommandgeneraldefs.h>
    23 #include <mpxcommandgeneraldefs.h>
   130     (&aWin)->SetOrdinalPosition( 0 );
   130     (&aWin)->SetOrdinalPosition( 0 );
   131 
   131 
   132     MPX_DEBUG(_L("VideoWindow ordinal position is: %d"), videoWindow->OrdinalPosition());
   132     MPX_DEBUG(_L("VideoWindow ordinal position is: %d"), videoWindow->OrdinalPosition());
   133     MPX_DEBUG(_L("UiWindow ordinal position is: %d"), (&aWin)->OrdinalPosition());
   133     MPX_DEBUG(_L("UiWindow ordinal position is: %d"), (&aWin)->OrdinalPosition());
   134 
   134 
   135     TRAPD
   135     int status = KErrNone;
       
   136 
       
   137     TRAP
   136     ( status,
   138     ( status,
   137         {
   139         {
   138             CAlfCompositionSource* me = CAlfCompositionSource::NewL( aWin );
   140             CAlfCompositionSource* me = CAlfCompositionSource::NewL( aWin );
   139             me->EnableAlpha();
   141             me->EnableAlpha();
   140             delete me;
   142             delete me;