mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 07:35:12 -04:00
fixed a few bugs. Still not working
This commit is contained in:
parent
024999ed67
commit
f55c115bdb
3 changed files with 81 additions and 37 deletions
|
@ -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 ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue