Added H.264 movie codec support.

This commit is contained in:
Justin Marshall
2020-07-16 11:07:17 -07:00
parent 0824dfbcdb
commit 8dd21f5b25
238 changed files with 162213 additions and 2474 deletions
+2 -2
View File
@@ -251,7 +251,7 @@ void * __cdecl Open_Animation(char const *file_name, char *user_buffer, long use
}
if (wsa_hardware_image == NULL) {
wsa_hardware_image = Image_CreateBlankImage("wsa", file_header.pixel_width, file_header.pixel_height);
wsa_hardware_image = Image_CreateBlankImage("wsa", file_header.pixel_width, file_header.pixel_height, true);
}
Sys_SetOverlayImage(wsa_hardware_image);
wsa_palette = palette;
@@ -646,7 +646,7 @@ BOOL __cdecl Animate_Frame(void *handle, GraphicViewPortClass& view,
#endif
}
Image_UploadRaw(wsa_hardware_image, (uint8_t *)view.Get_Offset(), true, wsa_palette);
Image_UploadRaw(wsa_hardware_image, (uint8_t *)view.Get_Offset(), true, wsa_palette, true);
view.Unlock();
return TRUE;