inputselector: Always proxy position/duration query
authorSeungha Yang <sh.yang@lge.com>
Mon, 6 Mar 2017 23:21:48 +0000 (08:21 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 7 Mar 2017 10:48:47 +0000 (12:48 +0200)
commit89082272f8331c15ae7be7dce18a2683f50cf704
tree3cef2a54a0303e71dbff0124ef6260ea3b459e63
parentc90d3e9d5aef1ed0e5b8517ba6b89cbf53354c1f
inputselector: Always proxy position/duration query

active-pad switch causes reconfigure event with lock taken,
and upstream element might query the current position or duration
before returning the reconfigure event.
Meanwhile, gst_input_selector_get_linked_pad() is used to get srcpad
inside of default query handle, and it takes also lock.
Since inputselector is still locked by active-pad switch, and so the query
cannot be handled further.

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