videoplayback/hbvideoplaybackview/controlsrc/mpxvideoplaybackcontrolconfiguration.cpp
changeset 39 f6d44a0cd476
parent 36 8aed59de29f9
--- a/videoplayback/hbvideoplaybackview/controlsrc/mpxvideoplaybackcontrolconfiguration.cpp	Fri May 14 15:14:51 2010 +0300
+++ b/videoplayback/hbvideoplaybackview/controlsrc/mpxvideoplaybackcontrolconfiguration.cpp	Fri May 28 09:45:19 2010 +0300
@@ -15,7 +15,7 @@
 *
 */
 
-// Version : %version: da1mmcf#19 %
+// Version : %version: da1mmcf#20 %
 
 
 
@@ -64,6 +64,8 @@
 
     QMPXVideoPlaybackViewFileDetails* fileDetails = mControlsController->fileDetails();
 
+    addControlToList( EMPXStatusPane );
+
     if ( fileDetails->mPlaybackMode == EMPXVideoStreaming ||
          fileDetails->mPlaybackMode == EMPXVideoLiveStreaming )
     {
@@ -72,8 +74,10 @@
         //
         addControlToList( EMPXBufferingAnimation );
     }
-
-    addControlToList( EMPXStatusPane );
+    else if ( fileDetails->mRNFormat )
+    {
+        addControlToList( EMPXRealLogoBitmap );
+    }
 
     emit controlListUpdated();
 }
@@ -143,12 +147,12 @@
 
             break;
         }
-        case EMPXControlCmdTvOutDisconnected:
+        case EMPXControlCmdRemoveRNLogo:
         {
-            break;
-        }
-        default:
-        {
+            MPX_DEBUG(_L("QMPXVideoPlaybackControlConfiguration::updateControlList() RN Logo removed"));
+
+            deleteControlFromList( EMPXRealLogoBitmap );
+
             break;
         }
     }