mmappcomponents/mmmtpdataprovider/mmmtpdprequestprocessor/src/csendobject.cpp
branchRCL_3
changeset 67 16db3449d7ba
parent 53 e42293e811d8
equal deleted inserted replaced
63:91d5ad76f5c6 67:16db3449d7ba
  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             }