inputselector: Use the first created pad by default
authorEdward Hervey <edward@collabora.com>
Fri, 27 Jul 2012 15:41:43 +0000 (17:41 +0200)
committerEdward Hervey <edward@collabora.com>
Mon, 6 Aug 2012 09:36:29 +0000 (11:36 +0200)
commitea761a24b492a2fe3220a6d186cbc097fdd4cce1
tree606ae54b6d6eedddf020df06af5d17409ac25219
parent7a89e5d046370b2b26e5f9fe3607722cf994c5ab
inputselector: Use the first created pad by default

This guarantees a bit more consistency in which input stream will
be selected by default. It would previously be the first pad on which
an event/buffer/query was received ... which was racy and non-predictable.
plugins/elements/gstinputselector.c