diff options
author | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2004-01-03 19:38:40 +0000 |
---|---|---|
committer | Ronald S. Bultje <rbultje@ronald.bitfreak.net> | 2004-01-03 19:38:40 +0000 |
commit | 47d4010afba7ad750b7cc3a3e36c342e704e462b (patch) | |
tree | 2f5fc8636b1c2e72b52c76394cc2e1002109cee8 /ext/xvid/gstxvidenc.h | |
parent | b52042f6dbb75f2d43179e859358f79995671fa7 (diff) | |
download | gst-plugins-bad-47d4010afba7ad750b7cc3a3e36c342e704e462b.tar.gz gst-plugins-bad-47d4010afba7ad750b7cc3a3e36c342e704e462b.tar.bz2 gst-plugins-bad-47d4010afba7ad750b7cc3a3e36c342e704e462b.zip |
Update xvid plugin to latest xvid (1.0.0-beta3) API.
Original commit message from CVS:
2004-01-03 Ronald Bultje <rbultje@ronald.bitfreak.net>
reviewed by: <delete if not using a buddy>
* configure.ac:
* ext/xvid/gstxvid.c: (gst_xvid_init), (gst_xvid_error),
(gst_xvid_structure_to_csp), (gst_xvid_csp_to_caps):
* ext/xvid/gstxvid.h:
* ext/xvid/gstxviddec.c: (gst_xviddec_class_init),
(gst_xviddec_init), (gst_xviddec_setup), (gst_xviddec_chain),
(gst_xviddec_src_link), (gst_xviddec_sink_link),
(gst_xviddec_change_state):
* ext/xvid/gstxviddec.h:
* ext/xvid/gstxvidenc.c: (gst_xvidenc_profile_get_type),
(gst_xvidenc_base_init), (gst_xvidenc_class_init),
(gst_xvidenc_init), (gst_xvidenc_setup), (gst_xvidenc_chain),
(gst_xvidenc_link), (gst_xvidenc_set_property),
(gst_xvidenc_get_property), (gst_xvidenc_change_state):
* ext/xvid/gstxvidenc.h:
Update xvid plugin to latest xvid (1.0.0-beta3) API.
Diffstat (limited to 'ext/xvid/gstxvidenc.h')
-rw-r--r-- | ext/xvid/gstxvidenc.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/ext/xvid/gstxvidenc.h b/ext/xvid/gstxvidenc.h index 12f4d2fd..356ce53f 100644 --- a/ext/xvid/gstxvidenc.h +++ b/ext/xvid/gstxvidenc.h @@ -48,11 +48,15 @@ struct _GstXvidEnc { /* pads */ GstPad *sinkpad, *srcpad; - /* quality of encoded JPEG image */ - gulong bitrate; + /* encoding profile */ + gint profile; - /* size of the JPEG buffers */ - gulong buffer_size; + /* quality of encoded image */ + gint bitrate; + gint buffer_size; + + /* max number of B frames between I/P */ + gint max_b_frames; /* max key interval */ gint max_key_interval; @@ -60,8 +64,8 @@ struct _GstXvidEnc { /* xvid handle */ void *handle; gint csp; - gint width, height; - double fps; + gint width, height, stride; + gdouble fps; }; struct _GstXvidEncClass { |