equal
deleted
inserted
replaced
1073 { |
1073 { |
1074 PRINT( _L( "MM MTP <> might happen if function is called before physical file arrives" ) ); |
1074 PRINT( _L( "MM MTP <> might happen if function is called before physical file arrives" ) ); |
1075 // might happen if function is called before physical file arrives |
1075 // might happen if function is called before physical file arrives |
1076 // do nothing |
1076 // do nothing |
1077 } |
1077 } |
1078 else if ( iObjectFormat == EMTPFormatCodeASF ) |
|
1079 { |
|
1080 // happens on some buggy PC implementation, default formatcode to WMA or WMV if extension matches |
|
1081 PRINT( _L( "MM MTP <> happens on some buggy PC implementation, default formatcode to WMA or WMV if extension matches" ) ); |
|
1082 if ( parser.Ext().CompareF( KTxtExtensionWMA ) == 0 ) |
|
1083 iObjectFormat = EMTPFormatCodeWMA; |
|
1084 else if ( parser.Ext().CompareF( KTxtExtensionWMV ) == 0 ) |
|
1085 iObjectFormat = EMTPFormatCodeWMV; |
|
1086 else |
|
1087 result = EFalse; |
|
1088 } |
|
1089 else |
1078 else |
1090 { |
1079 { |
1091 PRINT2( _L( "MM MTP <> %S does not match 0x%x" ), &iFullPath, iObjectFormat ); |
1080 PRINT2( _L( "MM MTP <> %S does not match 0x%x" ), &iFullPath, iObjectFormat ); |
1092 result = EFalse; |
1081 result = EFalse; |
1093 } |
1082 } |