summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/v4l2/v4l2_calls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/v4l2/v4l2_calls.c b/sys/v4l2/v4l2_calls.c
index 70c088cf..8b65dc71 100644
--- a/sys/v4l2/v4l2_calls.c
+++ b/sys/v4l2/v4l2_calls.c
@@ -84,7 +84,7 @@ gst_v4l2_fill_lists (GstV4l2Element *v4l2element)
if (pads && g_list_length ((GList *) pads) == 1)
dir = GST_PAD_DIRECTION (GST_PAD (pads->data));
- if (dir == GST_PAD_SINK) {
+ if (dir != GST_PAD_SINK) {
/* and now, the inputs */
for (n=0;;n++) {
struct v4l2_input input;