projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ebd2e1
)
gst: Remove dead assignments and resulting unused variables
author
Edward Hervey
<bilboed@bilboed.com>
Tue, 3 Nov 2009 17:14:12 +0000
(18:14 +0100)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 3 Nov 2009 17:14:12 +0000
(18:14 +0100)
Merged from gst-plugins-base,
8cd1b5209b68944e1be56ca8bb69e46d4abb7a34
.
gst/selector/gstinputselector.c
patch
|
blob
|
history
diff --git
a/gst/selector/gstinputselector.c
b/gst/selector/gstinputselector.c
index
e5918bb
..
b829f4f
100644
(file)
--- a/
gst/selector/gstinputselector.c
+++ b/
gst/selector/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);