mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
gst: Remove dead assignments and resulting unused variables
Merged from gst-plugins-base, 8cd1b5209b
.
This commit is contained in:
parent
d7669fa9cc
commit
f0010f15a9
1 changed files with 1 additions and 4 deletions
|
@ -1202,14 +1202,11 @@ gst_input_selector_getcaps (GstPad * pad)
|
|||
}
|
||||
|
||||
/* check if the pad is the active sinkpad */
|
||||
static gboolean
|
||||
static inline gboolean
|
||||
gst_input_selector_is_active_sinkpad (GstInputSelector * sel, GstPad * pad)
|
||||
{
|
||||
GstSelectorPad *selpad;
|
||||
gboolean res;
|
||||
|
||||
selpad = GST_SELECTOR_PAD_CAST (pad);
|
||||
|
||||
GST_INPUT_SELECTOR_LOCK (sel);
|
||||
res = (pad == sel->active_sinkpad);
|
||||
GST_INPUT_SELECTOR_UNLOCK (sel);
|
||||
|
|
Loading…
Reference in a new issue