mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-01 21:18:52 +00:00
basetransform: remove some unused variables
This commit is contained in:
parent
b91a5ab60a
commit
5c8efa9ffe
2 changed files with 4 additions and 5 deletions
|
@ -434,7 +434,6 @@ gst_base_transform_init (GstBaseTransform * trans,
|
||||||
gst_element_add_pad (GST_ELEMENT (trans), trans->srcpad);
|
gst_element_add_pad (GST_ELEMENT (trans), trans->srcpad);
|
||||||
|
|
||||||
trans->transform_lock = g_mutex_new ();
|
trans->transform_lock = g_mutex_new ();
|
||||||
trans->pending_configure = FALSE;
|
|
||||||
trans->priv->qos_enabled = DEFAULT_PROP_QOS;
|
trans->priv->qos_enabled = DEFAULT_PROP_QOS;
|
||||||
trans->cache_caps1 = NULL;
|
trans->cache_caps1 = NULL;
|
||||||
trans->cache_caps2 = NULL;
|
trans->cache_caps2 = NULL;
|
||||||
|
@ -778,7 +777,9 @@ gst_base_transform_do_bufferpool (GstBaseTransform * trans, GstCaps * outcaps)
|
||||||
* 1) we negotiated passthrough, we can proxy the bufferpool directly and we
|
* 1) we negotiated passthrough, we can proxy the bufferpool directly and we
|
||||||
* will do that whenever some upstream does an allocation query.
|
* will do that whenever some upstream does an allocation query.
|
||||||
* 2) we need to do a transform, we need to get a bufferpool from downstream
|
* 2) we need to do a transform, we need to get a bufferpool from downstream
|
||||||
* and configure it.
|
* and configure it. When upstream does the ALLOCATION query, the
|
||||||
|
* decide_allocation vmethod will be called and we will configure the
|
||||||
|
* upstream allocator then.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* clear old pool */
|
/* clear old pool */
|
||||||
|
@ -1309,7 +1310,7 @@ gst_base_transform_default_query (GstBaseTransform * trans,
|
||||||
GstPad *pad, *otherpad;
|
GstPad *pad, *otherpad;
|
||||||
|
|
||||||
pad = (direction == GST_PAD_SRC) ? trans->srcpad : trans->sinkpad;
|
pad = (direction == GST_PAD_SRC) ? trans->srcpad : trans->sinkpad;
|
||||||
otherpad = (direction == GST_PAD_SINK) ? trans->sinkpad : trans->srcpad;
|
otherpad = (direction == GST_PAD_SRC) ? trans->sinkpad : trans->srcpad;
|
||||||
|
|
||||||
switch (GST_QUERY_TYPE (query)) {
|
switch (GST_QUERY_TYPE (query)) {
|
||||||
case GST_QUERY_ALLOCATION:
|
case GST_QUERY_ALLOCATION:
|
||||||
|
|
|
@ -124,8 +124,6 @@ struct _GstBaseTransform {
|
||||||
gsize cache_caps2_size;
|
gsize cache_caps2_size;
|
||||||
gboolean have_same_caps;
|
gboolean have_same_caps;
|
||||||
|
|
||||||
gboolean delay_configure;
|
|
||||||
gboolean pending_configure;
|
|
||||||
gboolean negotiated;
|
gboolean negotiated;
|
||||||
|
|
||||||
gboolean have_segment;
|
gboolean have_segment;
|
||||||
|
|
Loading…
Reference in a new issue