Changeset 5975 in orxonox.OLD for branches/avi_play/src
- Timestamp:
- Dec 7, 2005, 5:17:06 PM (19 years ago)
- Location:
- branches/avi_play/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/defs/class_id.h
r5924 r5975 193 193 CL_MATERIAL = 0x00000804, 194 194 CL_TEXTURE_SEQUENCE = 0x00c04805, 195 CL_MEDIA_CONTAINER = 0x00000806, 195 196 CL_OBJMODEL = 0x00000807, 196 197 CL_PROMITIVE_MODEL = 0x00000808, -
branches/avi_play/src/lib/graphics/importer/media_container.cc
r5962 r5975 34 34 MediaContainer::MediaContainer(const char* filename) 35 35 { 36 /* set the class id for the base object */ 37 this->setClassID(CL_MEDIA_CONTAINER, "MediaContainer"); 38 36 39 /* register all formats and codecs */ 37 40 av_register_all(); 38 41 39 if (file Name != NULL)42 if (filename != NULL) 40 43 this->loadMedia(filename); 41 44 … … 60 63 } 61 64 62 void MediaContainer::loadMedia(c har* filename)65 void MediaContainer::loadMedia(const char* filename) 63 66 { 67 /* Open video file */ 68 if (av_open_input_file(&format_context, filename, NULL, 0, NULL) !=0 ) 69 PRINTF(1)("Could not open %s\n", filename); 64 70 65 71 } -
branches/avi_play/src/lib/graphics/importer/media_container.h
r5962 r5975 48 48 GLuint getFrame(int frame_number); 49 49 GLuint getNextFrame(); 50 void loadMedia(c har* filename);50 void loadMedia(const char* filename); 51 51 52 52 int getHeight(); -
branches/avi_play/src/lib/sound/sound_engine.cc
r5963 r5975 290 290 // INITIALIZING THE DEVICE: 291 291 #ifndef AL_VERSION_1_1 292 AL ubytedeviceName[] =292 ALCchar deviceName[] = 293 293 #else 294 294 ALCchar deviceName[] =
Note: See TracChangeset
for help on using the changeset viewer.