mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
input-selector: Remove pad's 'active' field
This is now never read. https://bugzilla.gnome.org/show_bug.cgi?id=739620
This commit is contained in:
parent
6f24f4917d
commit
bf8a71104c
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue