equal
deleted
inserted
replaced
499 User::Leave( KErrNotSupported ); |
499 User::Leave( KErrNotSupported ); |
500 } |
500 } |
501 |
501 |
502 if ( mimebuf == NULL ) |
502 if ( mimebuf == NULL ) |
503 { |
503 { |
504 User::Leave( KErrNotFound ); |
504 PRINT( _L( "MM MTP <> MmMtpDpUtility::Mp4MimeTypeL, mimebuf == NULL, default as video" ) ); |
|
505 |
|
506 if ( file.Ext().CompareF( KTxtExtension3GP ) == 0 |
|
507 || file.Ext().CompareF( KTxtExtension3G2 ) == 0 ) |
|
508 { |
|
509 mimebuf = KMimeTypeVideo3gpp().Alloc(); |
|
510 } |
|
511 else |
|
512 { |
|
513 mimebuf = KMimeTypeVideoMp4().Alloc(); |
|
514 } |
505 } |
515 } |
506 PRINT( _L( "MM MTP <= MmMtpDpUtility::Mp4MimeTypeL" ) ); |
516 PRINT( _L( "MM MTP <= MmMtpDpUtility::Mp4MimeTypeL" ) ); |
507 return mimebuf; |
517 return mimebuf; |
508 } |
518 } |
509 |
519 |