diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-03-30 17:06:26 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-03-30 17:06:26 +0000 |
commit | 444336ab9055ff036ae8ba5ba25591174d3b87de (patch) | |
tree | 3b70ea62c77db652f7545c1c2f85852c2005bd14 /ext/tarkin | |
parent | 2641c8c05fc04a14c82a4f9a91927e4002342ddb (diff) | |
download | gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.tar.gz gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.tar.bz2 gst-plugins-bad-444336ab9055ff036ae8ba5ba25591174d3b87de.zip |
Changed to the new props API
Original commit message from CVS:
Changed to the new props API
Other small tuff.
Diffstat (limited to 'ext/tarkin')
-rw-r--r-- | ext/tarkin/gsttarkinenc.c | 4 | ||||
-rw-r--r-- | ext/tarkin/tarkin.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/tarkin/gsttarkinenc.c b/ext/tarkin/gsttarkinenc.c index 4babb7e6..3d3128a4 100644 --- a/ext/tarkin/gsttarkinenc.c +++ b/ext/tarkin/gsttarkinenc.c @@ -130,8 +130,8 @@ gst_tarkinenc_sinkconnect (GstPad *pad, GstCaps *caps) tarkinenc->layer[0].bitstream_len = tarkinenc->bitrate; tarkinenc->layer[0].a_moments = tarkinenc->a_moments; tarkinenc->layer[0].s_moments = tarkinenc->s_moments; - tarkinenc->layer[0].width = gst_caps_get_int (caps, "width"); - tarkinenc->layer[0].height = gst_caps_get_int (caps, "height"); + gst_caps_get_int (caps, "width", &tarkinenc->layer[0].width); + gst_caps_get_int (caps, "height", &tarkinenc->layer[0].height); tarkinenc->layer[0].format = TARKIN_RGB24; tarkinenc->layer[0].frames_per_buf = TARKIN_RGB24; diff --git a/ext/tarkin/tarkin.c b/ext/tarkin/tarkin.c index 1804fc5f..a9e24afc 100644 --- a/ext/tarkin/tarkin.c +++ b/ext/tarkin/tarkin.c @@ -139,7 +139,7 @@ extern int tarkin_analysis_add_layer(TarkinStream *s, } /* max_bitstream_len += layer->desc.bitstream_len - + 2 * 10 * sizeof(uint32_t) * layer->n_comp; /* truncation tables */ + + 2 * 10 * sizeof(uint32_t) * layer->n_comp; */ return (TARKIN_OK); } |