Changeset 1344

Show
Ignore:
Timestamp:
11/15/07 16:59:27 (1 year ago)
Author:
glslang
Message:

+ jahplayer fixes

Location:
trunk/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/openassetlib/al/al.cpp

    r1316 r1344  
    674674                                        continue; 
    675675 
    676                                 oml::ml::input_type_ptr media = boost::shared_dynamic_cast<oml::ml::openmedialib_plugin>(plugin)->input(opl::to_wstring(filepath) ); 
     676                                oml::ml::input_type_ptr media = oml::ml::create_input(opl::to_wstring(filepath) ); 
    677677                                if(media) 
    678678                                { 
  • trunk/src/openpluginlib/pl/openpluginlib.cpp

    r1316 r1344  
    7575                                filter = str.second.out_filter; 
    7676 
    77                         if( !str_.empty( ) && str_.find( filter ) == wstring::npos ) 
     77                        if( str_.find( filter ) == wstring::npos ) 
    7878                                str_ += filter + wstring( L" " ); 
    7979                }