Oops, input <-> output confusion
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sun, 26 Oct 2003 11:48:30 +0000 (11:48 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Sun, 26 Oct 2003 11:48:30 +0000 (11:48 +0000)
Original commit message from CVS:
Oops, input <-> output confusion

sys/v4l2/v4l2_calls.c

index 70c088c..8b65dc7 100644 (file)
@@ -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;