input-selector: Fix missing pad activation notification
authorArnaud Vrac <avrac@freebox.fr>
Mon, 22 Jul 2013 16:03:01 +0000 (18:03 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 23 Jul 2013 06:59:07 +0000 (08:59 +0200)
commit9bc26c5f25b9a581c1add0c457f0646cb6e3c8cf
tree88e640bf61dfb9f3f9c98d335196e9809b01c4ad
parent0c513e3d97881471456af622115b17d027e6b5dc
input-selector: Fix missing pad activation notification

A new active pad might not be notified in some cases, which results
in the current track number not being set in playbin.

The active-pad notification is only sent in the chain and sink_event
functions, and only when the buffer or event that triggered the active
pad selection is from the newly activated pad. So in the other case
the notification will never be sent.

https://bugzilla.gnome.org/show_bug.cgi?id=704691
plugins/elements/gstinputselector.c