decodebin: track the exposable pads through connect_pad
authorMatthew Waters <matthew@centricular.com>
Mon, 19 Oct 2015 16:58:26 +0000 (03:58 +1100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Oct 2015 07:48:05 +0000 (10:48 +0300)
commit44871680f02f5eae970c3d4f87b4e168ec412a25
treec2062649ef3f24c299f90261ec50f4d1b214c079
parent94d81fc713d31830e6ab61da1d6856232f0095c2
decodebin: track the exposable pads through connect_pad

The logic introduced by
[d50b713: decodebin: set the decode pad target before setting elements to PAUSED]
to expose pads would only ever be able to possibly expose one (the last) pad per element.

Make it so that any exposable pads are able to be exposed rather than just the
last pad returned by connect_element.

https://bugzilla.gnome.org/show_bug.cgi?id=742924
gst/playback/gstdecodebin2.c