decodebin: return the possibly new chain in analyze_new_pad
authorMatthew Waters <matthew@centricular.com>
Mon, 19 Oct 2015 16:52:24 +0000 (03:52 +1100)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 20 Oct 2015 07:47:45 +0000 (10:47 +0300)
commit94d81fc713d31830e6ab61da1d6856232f0095c2
treeb7e17a2558fdc75f0c7969f34fb63f918ed33af6
parent68ec631db73c52d9006ac46ecd1437fc2e0adc34
decodebin: return the possibly new chain in analyze_new_pad

In the case of analyzing a demuxer chain, analyze_new_pad may create
a new GstDecodeChain.  This was not propagated to the calling function which as
of [d50b713f decodebin: set the decode pad target before setting elements to PAUSED]
is now required to be able to expose the correct pad.

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