aboutsummaryrefslogtreecommitdiff
path: root/src/recorder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/recorder.h')
-rw-r--r--src/recorder.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/recorder.h b/src/recorder.h
index 2ef0d47..e0c2818 100644
--- a/src/recorder.h
+++ b/src/recorder.h
@@ -1,24 +1,20 @@
#ifndef __RECORDER_H
#define __RECORDER_H
-#include <SDL.h>
+#include <stdint.h>
-extern "C" {
-#include <libavformat/avformat.h>
-#include <libavcodec/avcodec.h>
-#include <libswscale/swscale.h>
-}
+#include <SDL.h>
#include "osc_graphics.h"
class Recorder : Mutex {
- AVFormatContext *ffmpeg;
- AVStream *stream;
- SwsContext *sws_context;
- AVFrame *encodeFrame;
- int encodeFrameBufferSize;
- uint8_t *encodeFrameBuffer;
- AVPacket pkt;
+ struct AVFormatContext *ffmpeg;
+ struct AVStream *stream;
+ struct SwsContext *sws_context;
+ struct AVFrame *encodeFrame;
+ int encodeFrameBufferSize;
+ uint8_t *encodeFrameBuffer;
+ struct AVPacket *pkt;
Uint32 start_time;