Oops, input <-> output confusion

Original commit message from CVS:
Oops, input <-> output confusion
This commit is contained in:
Ronald S. Bultje 2003-10-26 11:48:30 +00:00
parent 2849175ab7
commit 89ea092936

View 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;