fixed a few bugs. Still not working

This commit is contained in:
csoler 2015-08-23 22:39:16 -04:00
parent 024999ed67
commit f55c115bdb
3 changed files with 81 additions and 37 deletions

View file

@ -4,6 +4,10 @@
#include <QImage>
#include "interface/rsVOIP.h"
extern "C" {
#include <libavcodec/avcodec.h>
}
class QVideoOutputDevice ;
class VideoCodec
@ -60,6 +64,7 @@ private:
struct AVCodec ;
struct AVCodecContext ;
struct AVFrame ;
struct AVPacket ;
class FFmpegVideo: public VideoCodec
{
@ -78,6 +83,7 @@ private:
AVCodecContext *decoding_context;
AVFrame *encoding_frame_buffer ;
AVFrame *decoding_frame_buffer ;
AVPacket decoding_buffer;
uint64_t encoding_frame_count ;
FILE *encoding_debug_file ;