summaryrefslogtreecommitdiff
path: root/omx/gstomxvideoenc.h
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2011-07-28 11:54:16 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-07-28 12:52:24 +0200
commite7b421c1314a190d85a4365d69f2c1ab8df888ad (patch)
tree9712307d9871a7577baca5e6b739bc4802a8abd9 /omx/gstomxvideoenc.h
parentf2b456e2e693fe1f160ecfe5cd55c2057b428110 (diff)
downloadgst-omx-e7b421c1314a190d85a4365d69f2c1ab8df888ad.tar.gz
omxvideoenc: Add support for setting bitrate/quantization related parameters
Diffstat (limited to 'omx/gstomxvideoenc.h')
-rw-r--r--omx/gstomxvideoenc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/omx/gstomxvideoenc.h b/omx/gstomxvideoenc.h
index 98619b2..5a34fb8 100644
--- a/omx/gstomxvideoenc.h
+++ b/omx/gstomxvideoenc.h
@@ -57,6 +57,13 @@ struct _GstOMXVideoEnc
/* TRUE if the component is configured and saw
* the first buffer */
gboolean started;
+
+ /* properties */
+ OMX_VIDEO_CONTROLRATETYPE control_rate;
+ guint32 target_bitrate;
+ guint32 quant_i_frames;
+ guint32 quant_p_frames;
+ guint32 quant_b_frames;
};
struct _GstOMXVideoEncClass