Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
* forward-declare all structures
|
|
* introduced FFMPEG_ERROR() macro
* fixed recorder's error handling
|
|
* SDL_ffmpeg was broken and is hard to get
* my implementation allows specifying an output codec. if the codec supports the screen's pixel format, no conversion is performed saving lots of performance (also beneficial for post-processing a recorded video)
|
|
* fixes asynchronity of displayed and recorded graphics
* also use the configured framerate instead of a hardcoded one
|
|
|
|
|
|
* decleared main() with C linkage since it might be renamed to SDL_main and libSDLmain's startup code expects C linkage
* use a custom atexit() handler since SDL_Quit() calling conventions might differ from standard C calling conventions
|
|
instead of trying to reopen stdout and stderr, we ensure that stdio redirection
is not initialized in the first place.
* the workaround code could be in a separate C or C++ file but that would require
conditional compilation and linking and therefore a new Automake conditional
|
|
|
|
|
|
|