diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-04 22:42:06 +0200 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-10-04 22:42:06 +0200 |
commit | 4bb5ce0be62671f7c5127d969c682d57e971679b (patch) | |
tree | 1ce0510c5a8cca37a4106f43f4c5de1162f01a35 /src/main.cpp | |
parent | d5dcc19a006f898f21a5b081180a132c9dc6e638 (diff) | |
download | osc-graphics-4bb5ce0be62671f7c5127d969c682d57e971679b.tar.gz |
rewritten recorder using ffmpeg libs (without SDL_ffmpeg)
* 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)
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index d353a52..a7475bb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2,6 +2,7 @@ #include "config.h" #endif +#define __STDC_CONSTANT_MACROS #include <stdio.h> #include <stdlib.h> #include <string.h> |