Revision: 201019
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 27 May 2010 13:53:19 +0300
changeset 23 2fa4bdc4457e
parent 20 fbe6578feb8b
child 36 0ff8782add8d
Revision: 201019 Kit: 2010121
videoutils_plat/videoplayer_constants_api/inc/mpxvideoplaybackdefs.h
videoutils_plat/videoplayer_constants_api/inc/vcxmyvideosdefs.h
--- a/videoutils_plat/videoplayer_constants_api/inc/mpxvideoplaybackdefs.h	Fri May 14 16:51:53 2010 +0300
+++ b/videoutils_plat/videoplayer_constants_api/inc/mpxvideoplaybackdefs.h	Thu May 27 13:53:19 2010 +0300
@@ -15,7 +15,7 @@
 */
 
 
-// Version : %version: 11 %
+// Version : %version: 13 %
 
 
 #ifndef CMPXVIDEOPLAYBACKDEFS_H
@@ -82,14 +82,19 @@
 const TMPXAttributeData KMPXMediaVideoTvOutConnected = { KMPXMediaIdVideoPlayback, 0x200 };
 
 //
+//  TInt
+//
+const TMPXAttributeData KMPXMediaVideoTvOutPlayAllowed = { KMPXMediaIdVideoPlayback, 0x400 };
+
+//
 //  MimeType returned by the recognizer
 //
-const TMPXAttributeData KMPXMediaVideoRecognizedMimeType = { KMPXMediaIdVideoPlayback, 0x400 };
+const TMPXAttributeData KMPXMediaVideoRecognizedMimeType = { KMPXMediaIdVideoPlayback, 0x800 };
 
 //
 //  TInt
 //
-const TMPXAttributeData KMPXMediaVideoBufferingPercentage = { KMPXMediaIdVideoPlayback, 0x800 };
+const TMPXAttributeData KMPXMediaVideoBufferingPercentage = { KMPXMediaIdVideoPlayback, 0x1000 };
 
 
 enum TMPXVideoPlaybackCommand
@@ -117,13 +122,19 @@
     EPbCmdCustomPlay,
     EPbCmdRetrieveBufferingPercentage,
     EPbCmdLoadingStarted,
-    EPbCmdHideControls
+    EPbCmdHideControls,
+    EPbCmdSetPosterFrame
 };
 
 enum TMPXGeneralError
 {
     KMPXVideoCallOngoingError = 1,
     KMPXVideoPlayOver2GDuringVoiceCallError,
+    KMPXVideoTvOutPlaybackNotAllowed,
+    KMPXVideoTvOutPlaybackNotAllowedClose,
+    KMPXVideoSetPosterFrameFailure,
+    KMPXVideoSetPosterFrameSuccess,
+    KMPXVideoSetPosterFrameNotSupported,
     KMPXPluginError
 };
 
--- a/videoutils_plat/videoplayer_constants_api/inc/vcxmyvideosdefs.h	Fri May 14 16:51:53 2010 +0300
+++ b/videoutils_plat/videoplayer_constants_api/inc/vcxmyvideosdefs.h	Thu May 27 13:53:19 2010 +0300
@@ -165,6 +165,19 @@
     */
     EVcxMyVideosVideoListOrderChanged
     };
+
+/**
+* These values are written to video list (received by HandleOpen)
+* KVcxMediaMyVideosInt32Value attribute to give extra information about the list status.
+*/
+enum TVcxMyVideosVideoListInfo
+    {    
+    /**
+    * Indicates that the list is complete and no more items are appended
+    * to the list by KVcxMessageMyVideosItemsAppended event.
+    */ 
+    EVcxMyVideosVideoListComplete
+    };
     
 //
 // These are the general attributes used in My Videos media object.
@@ -586,6 +599,9 @@
  video list at the same time. The scenario described below involves video list fetching from MDS. If the collection
  has the video list already fetched, then the HandleOpenL will contain all videos and KVcxMessageMyVideosListComplete
  is received immedetially.
+ 
+ The list complete status (EVcxMyVideosVideoListComplete) is also written to aEntries KVcxMediaMyVideosInt32Value
+ attribute when the list is complete. 
   
                  .------.                                                                 .-------------------------.
                  |CLIENT|                                                                 |MPX My Videos Collection |