Changeset 6510 in orxonox.OLD for branches/avi_play/src/lib/graphics/importer/movie_player.cc
- Timestamp:
- Jan 16, 2006, 4:29:04 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/lib/graphics/importer/movie_player.cc
r6486 r6510 25 25 #include "movie_player.h" 26 26 27 #include "resource_manager.h" 28 27 29 // header for debug output 28 30 #include "debug.h" … … 96 98 97 99 // Open video file 98 if (av_open_input_file(&format_context, filename, NULL, 0, NULL) !=0 )99 { 100 PRINTF(1)("Could not open %s\n", filename);100 if (av_open_input_file(&format_context, ResourceManager::getFullName(filename), NULL, 0, NULL) !=0 ) 101 { 102 PRINTF(1)("Could not open %s\n", ResourceManager::getFullName(filename)); 101 103 return false; 102 104 } … … 105 107 if (av_find_stream_info(format_context) < 0) 106 108 { 107 PRINTF(1)("Could not find stream information in %s\n", filename);109 PRINTF(1)("Could not find stream information in %s\n", ResourceManager::getFullName(filename)); 108 110 return false; 109 111 } … … 114 116 if(video_stream == -1) 115 117 { 116 PRINTF(1)("Could not find a video stream in %s\n", filename);118 PRINTF(1)("Could not find a video stream in %s\n", ResourceManager::getFullName(filename)); 117 119 return false; 118 120 }
Note: See TracChangeset
for help on using the changeset viewer.