equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: CMpxVideoPlayerAppUiEngine |
14 * Description: CMpxVideoPlayerAppUiEngine |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 // Version : %version: ou1cpsw#8 % |
18 // Version : %version: 9 % |
19 |
19 |
20 |
20 |
21 |
21 |
22 #include <mpxcommand.h> |
22 #include <mpxcommand.h> |
23 #include <mpxcommandgeneraldefs.h> |
23 #include <mpxcommandgeneraldefs.h> |
565 iUpdateSeekInfo = ETrue; |
565 iUpdateSeekInfo = ETrue; |
566 iSeekable = aPlaylistUtil->IsSeekable(); |
566 iSeekable = aPlaylistUtil->IsSeekable(); |
567 |
567 |
568 if ( aLocalFile ) |
568 if ( aLocalFile ) |
569 { |
569 { |
570 CMediaRecognizer::TMediaType mediaType = iRecognizer->IdentifyMediaTypeL( link ); |
570 iPlaybackUtility->InitL( link ); |
571 |
|
572 if ( mediaType == CMediaRecognizer::EUnidentified ) |
|
573 { |
|
574 User::Leave( KErrNotSupported ); |
|
575 } |
|
576 else |
|
577 { |
|
578 iPlaybackUtility->InitL( link ); |
|
579 } |
|
580 } |
571 } |
581 else |
572 else |
582 { |
573 { |
583 iPlaybackUtility->InitStreamingL( link, |
574 iPlaybackUtility->InitStreamingL( link, |
584 (TDesC8*)(&KDATATYPEVIDEOHELIX), |
575 (TDesC8*)(&KDATATYPEVIDEOHELIX), |