equal
deleted
inserted
replaced
198 { |
198 { |
199 TUint8 origin = EVcxMyVideosOriginOther; |
199 TUint8 origin = EVcxMyVideosOriginOther; |
200 |
200 |
201 media = videoListArray->AtL( i ); |
201 media = videoListArray->AtL( i ); |
202 |
202 |
203 if ( media->IsSupported( KVcxMediaMyVideosOrigin ) ) |
203 origin = TVcxMyVideosCollectionUtil::OriginL( *media ); |
204 { |
204 |
205 origin = media->ValueTObjectL<TUint8>( KVcxMediaMyVideosOrigin ); |
|
206 } |
|
207 |
|
208 TBool newVideo = EFalse; |
205 TBool newVideo = EFalse; |
209 TUint32 flags = 0; |
206 TUint32 flags = 0; |
210 |
207 |
211 if ( media->IsSupported( KMPXMediaGeneralFlags ) ) |
208 if ( media->IsSupported( KMPXMediaGeneralFlags ) ) |
212 { |
209 { |
552 switch ( aOrigin ) |
549 switch ( aOrigin ) |
553 { |
550 { |
554 case -1: |
551 case -1: |
555 return KVcxMyVideosAllVideosCategoryIndex; |
552 return KVcxMyVideosAllVideosCategoryIndex; |
556 |
553 |
557 case EVcxMyVideosOriginDownloaded: |
|
558 return KVcxMyVideosDownloadsCategoryIndex; |
|
559 |
|
560 case EVcxMyVideosOriginCapturedWithCamera: |
554 case EVcxMyVideosOriginCapturedWithCamera: |
561 return KVcxMyVideosCapturedCategoryIndex; |
555 return KVcxMyVideosCapturedCategoryIndex; |
562 |
556 |
|
557 case EVcxMyVideosOriginDownloaded: |
563 case EVcxMyVideosOriginTvRecording: |
558 case EVcxMyVideosOriginTvRecording: |
564 return KVcxMyVideosTvRecordingsCategoryIndex; |
|
565 |
|
566 case EVcxMyVideosOriginSideLoaded: |
559 case EVcxMyVideosOriginSideLoaded: |
567 case EVcxMyVideosOriginOther: |
560 case EVcxMyVideosOriginOther: |
568 default: |
561 default: |
569 return KVcxMyVideosOtherCategoryIndex; |
562 return KVcxMyVideosOtherCategoryIndex; |
570 } |
563 } |