videoplayback/videoplaybackcontrols/src/mpxvideoplaybackcontrolconfiguration.cpp
branchRCL_3
changeset 18 baf439b22ddd
parent 12 7f2b2a65da29
child 21 315810614048
equal deleted inserted replaced
16:67eb01668b0e 18:baf439b22ddd
    14 * Description:  Implementation of MPXVideoPlaybackControlConfiguration
    14 * Description:  Implementation of MPXVideoPlaybackControlConfiguration
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: e003sa33#14 %
    19 // Version : %version: 15 %
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <e32def.h>
    23 #include <e32def.h>
    24 #include <e32base.h>
    24 #include <e32base.h>
    94 {
    94 {
    95     MPX_DEBUG(_L("CMPXVideoPlaybackControlConfiguration::CreateControlListL()"));
    95     MPX_DEBUG(_L("CMPXVideoPlaybackControlConfiguration::CreateControlListL()"));
    96 
    96 
    97     CMPXVideoPlaybackViewFileDetails* fileDetails = iControlsController->FileDetails();
    97     CMPXVideoPlaybackViewFileDetails* fileDetails = iControlsController->FileDetails();
    98 
    98 
    99     if ( fileDetails->iPlaybackMode == EMPXVideoStreaming )
    99     if ( fileDetails->iPlaybackMode == EMPXVideoStreaming ||
       
   100          fileDetails->iPlaybackMode == EMPXVideoLiveStreaming )
   100     {
   101     {
   101         //
   102         //
   102         //  streaming mode, add branding animation control to show while initializing
   103         //  streaming mode, add branding animation control to show while initializing
   103         //
   104         //
   104         iControlsList.AppendL( EMPXBrandingAnimation );
   105         iControlsList.AppendL( EMPXBrandingAnimation );
   216                 DeleteControlFromList( EMPXBrandingAnimation );
   217                 DeleteControlFromList( EMPXBrandingAnimation );
   217             }
   218             }
   218 
   219 
   219             break;
   220             break;
   220         }
   221         }
   221         default:
       
   222         {
       
   223             break;
       
   224         }
       
   225     }
   222     }
   226 }
   223 }
   227 
   224 
   228 // -------------------------------------------------------------------------------------------------
   225 // -------------------------------------------------------------------------------------------------
   229 // CMPXVideoPlaybackControlConfiguration::DeleteControlFromList
   226 // CMPXVideoPlaybackControlConfiguration::DeleteControlFromList