diff options
Diffstat (limited to 'ext/ffmpeg/gstffmpegenc.h')
-rw-r--r-- | ext/ffmpeg/gstffmpegenc.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/ffmpeg/gstffmpegenc.h b/ext/ffmpeg/gstffmpegenc.h index ac9768a..ee8468c 100644 --- a/ext/ffmpeg/gstffmpegenc.h +++ b/ext/ffmpeg/gstffmpegenc.h @@ -26,6 +26,8 @@ G_BEGIN_DECLS +#include <gst/base/gstadapter.h> + typedef struct _GstFFMpegEnc GstFFMpegEnc; struct _GstFFMpegEnc @@ -39,7 +41,10 @@ struct _GstFFMpegEnc AVCodecContext *context; AVFrame *picture; gboolean opened; - GstBuffer *cache; + GstClockTime adapter_ts; + guint64 adapter_consumed; + GstAdapter *adapter; + gboolean discont; /* cache */ gulong bitrate; |