Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: v0.7.0
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (27 sloc) 0.7 kb
* Copyright (C) 2009-2012 Felipe Contreras
* Author: Felipe Contreras <>
* This file may be used under the terms of the GNU Lesser General Public
* License version 2.1.
#ifndef GST_AV_VENC_H
#define GST_AV_VENC_H
#include <gst/gst.h>
#include <libavcodec/avcodec.h>
#include <stdbool.h>
#define GST_AV_VENC_TYPE (gst_av_venc_get_type())
GType gst_av_venc_get_type(void);
struct gst_av_venc {
GstElement element;
GstPad *sinkpad, *srcpad;
AVCodec *codec;
AVCodecContext *av_ctx;
bool initialized;
int codec_id;
void (*init_ctx)(struct gst_av_venc *base, AVCodecContext *ctx);
uint8_t *buffer;
size_t buffer_size;
#endif /* GST_AV_VENC_H */
Jump to Line
Something went wrong with that request. Please try again.