equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Implementation of MPXVideoPlaybackControlPolicy |
14 * Description: Implementation of MPXVideoPlaybackControlPolicy |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: da1mmcf#10 % |
18 // Version : %version: da1mmcf#12 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 // INCLUDE FILES |
22 // INCLUDE FILES |
23 |
23 |
69 EMPXShownWhenBuffering; |
69 EMPXShownWhenBuffering; |
70 break; |
70 break; |
71 } |
71 } |
72 case EMPXStatusPane: |
72 case EMPXStatusPane: |
73 { |
73 { |
74 if ( details->mPlaybackMode != EMPXVideoLocal || |
74 // |
75 viewMode == EAudioOnlyView || |
75 // If it is local playback & full screen view, show the controls while buffering |
76 viewMode == EDetailsView ) |
76 // If not, won't show |
77 { |
77 // |
78 properties = EMPXAllProperties; |
78 if ( details->mPlaybackMode == EMPXVideoLocal && viewMode == EFullScreenView ) |
79 } |
|
80 else |
|
81 { |
79 { |
82 properties = EMPXShownWhenPlaying | |
80 properties = EMPXShownWhenPlaying | |
83 EMPXShownWhenPaused | |
81 EMPXShownWhenPaused | |
84 EMPXShownWhenSeeking; |
82 EMPXShownWhenSeeking | |
|
83 EMPXShownWhenBuffering; |
|
84 } |
|
85 else |
|
86 { |
|
87 properties = EMPXAllProperties; |
85 } |
88 } |
86 break; |
89 break; |
87 } |
90 } |
88 case EMPXControlBar: |
91 case EMPXControlBar: |
89 { |
92 { |
100 { |
103 { |
101 properties = EMPXAllProperties; |
104 properties = EMPXAllProperties; |
102 } |
105 } |
103 else |
106 else |
104 { |
107 { |
105 properties = EMPXShownWhenPlaying | |
108 // |
106 EMPXShownWhenPaused | |
109 // If it is local playback, show the controls while buffering |
107 EMPXShownWhenSeeking; |
110 // If not, won't show |
|
111 // |
|
112 if ( details->mPlaybackMode == EMPXVideoLocal ) |
|
113 { |
|
114 properties = EMPXShownWhenPlaying | |
|
115 EMPXShownWhenPaused | |
|
116 EMPXShownWhenSeeking | |
|
117 EMPXShownWhenBuffering; |
|
118 } |
|
119 else |
|
120 { |
|
121 properties = EMPXShownWhenPlaying | |
|
122 EMPXShownWhenPaused | |
|
123 EMPXShownWhenSeeking; |
|
124 } |
108 } |
125 } |
109 break; |
126 break; |
110 } |
127 } |
111 case EMPXFileDetailsWidget: |
128 case EMPXFileDetailsWidget: |
112 case EMPXIndicatorBitmap: |
129 case EMPXIndicatorBitmap: |