summaryrefslogtreecommitdiff
path: root/plugins/elements/gstinputselector.c
diff options
context:
space:
mode:
authorJan Alexander Steffens (heftig) <jsteffens@make.tv>2014-11-19 13:03:21 +0100
committerThiago Santos <thiagoss@osg.samsung.com>2015-03-24 10:34:27 -0300
commitbf8a71104c70faab0cf03ab94f4fd94bb22e5e1f (patch)
tree3be170f3374a6fc247f22b55a17cf749250ed0d3 /plugins/elements/gstinputselector.c
parent6f24f4917d6cdde5cdb6935f3ff6eb21948c714b (diff)
input-selector: Remove pad's 'active' field
This is now never read. https://bugzilla.gnome.org/show_bug.cgi?id=739620
Diffstat (limited to 'plugins/elements/gstinputselector.c')
-rw-r--r--plugins/elements/gstinputselector.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c
index d1faebad6..b12469aaa 100644
--- a/plugins/elements/gstinputselector.c
+++ b/plugins/elements/gstinputselector.c
@@ -155,7 +155,6 @@ struct _GstSelectorPad
{
GstPad parent;
- gboolean active; /* when buffer have passed the pad */
gboolean pushed; /* when buffer was pushed downstream since activation */
gboolean eos; /* when EOS has been received */
gboolean eos_sent; /* when EOS was sent downstream */
@@ -341,7 +340,6 @@ static void
gst_selector_pad_reset (GstSelectorPad * pad)
{
GST_OBJECT_LOCK (pad);
- pad->active = FALSE;
pad->pushed = FALSE;
pad->eos = FALSE;
pad->eos_sent = FALSE;
@@ -1536,11 +1534,7 @@ static GstPad *
gst_input_selector_activate_sinkpad (GstInputSelector * sel, GstPad * pad)
{
GstPad *active_sinkpad;
- GstSelectorPad *selpad;
-
- selpad = GST_SELECTOR_PAD_CAST (pad);
- selpad->active = TRUE;
active_sinkpad = sel->active_sinkpad;
if (active_sinkpad == NULL) {
GValue item = G_VALUE_INIT;