videoplayback/videoplaybackcontrols/src/mpxvideoplaybackprogressbar.cpp
branchRCL_3
changeset 21 315810614048
parent 18 baf439b22ddd
equal deleted inserted replaced
20:2d690156cf8f 21:315810614048
    14 * Description: Progress bar control
    14 * Description: Progress bar control
    15 *
    15 *
    16 */
    16 */
    17 
    17 
    18 
    18 
    19 // Version : %version: e003sa33#24 %
    19 // Version : %version: 25 %
    20 
    20 
    21 
    21 
    22 // INCLUDE FILES
    22 // INCLUDE FILES
    23 #include <eikenv.h>
    23 #include <eikenv.h>
    24 #include <gulicon.h>
    24 #include <gulicon.h>
   770             AknIconUtils::SetSize( iDownloadIcon->Bitmap(),
   770             AknIconUtils::SetSize( iDownloadIcon->Bitmap(),
   771                                    iFrameIconRect.Size(),
   771                                    iFrameIconRect.Size(),
   772                                    EAspectRatioNotPreserved );
   772                                    EAspectRatioNotPreserved );
   773         }
   773         }
   774     }
   774     }
   775     else if ( aDetails->iPlaybackMode == EMPXVideoLiveStreaming )
   775     else if ( aDetails->iPlaybackMode == EMPXVideoLiveStreaming &&
       
   776               ! iLiveStreamingString )
   776     {
   777     {
   777         iLiveStreamingString = iEikonEnv->AllocReadResourceL( R_MPX_LIVE_STREAMING );
   778         iLiveStreamingString = iEikonEnv->AllocReadResourceL( R_MPX_LIVE_STREAMING );
   778 
   779 
   779         //
   780         //
   780         //  update labels to show live streaming text
   781         //  update labels to show live streaming text