mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-10-17 07:12:15 +08:00
Add flag to video capture handler to indicate frame did not change according to render/GFX functions. Add code to AVI writer to support writing NULL non-keyframe video chunks to the AVI instead of feeding unchanged frames to the ZMBV encoder. Add dosbox.conf option to enable this performance and bandwidth optimization with future reminder to enable by default if option does not cause issues
This commit is contained in:
@@ -49,6 +49,7 @@ FILE * OpenCaptureFile(const char * type,const char * ext);
|
||||
void CAPTURE_AddWave(Bit32u freq, Bit32u len, Bit16s * data);
|
||||
#define CAPTURE_FLAG_DBLW 0x1
|
||||
#define CAPTURE_FLAG_DBLH 0x2
|
||||
#define CAPTURE_FLAG_NOCHANGE 0x4
|
||||
void CAPTURE_AddImage(Bitu width, Bitu height, Bitu bpp, Bitu pitch, Bitu flags, float fps, Bit8u * data, Bit8u * pal);
|
||||
void CAPTURE_AddMidi(bool sysex, Bitu len, Bit8u * data);
|
||||
|
||||
|
Reference in New Issue
Block a user