diff options
author | Edward Hervey <bilboed@bilboed.com> | 2009-11-03 18:14:12 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-12-31 00:54:04 +0000 |
commit | f0010f15a9116a13d6c92a8dbec6ec57f8bd675b (patch) | |
tree | 6d42b3943e03fbf7a6c9b27921ce0d702ca16d48 | |
parent | d7669fa9ccb9147e2970ec3a29ad6d59527717f4 (diff) |
gst: Remove dead assignments and resulting unused variables
Merged from gst-plugins-base, 8cd1b5209b68944e1be56ca8bb69e46d4abb7a34.
-rw-r--r-- | plugins/elements/gstinputselector.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/elements/gstinputselector.c b/plugins/elements/gstinputselector.c index e5918bb435..b829f4fb21 100644 --- a/plugins/elements/gstinputselector.c +++ b/plugins/elements/gstinputselector.c @@ -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); |