nleurisource: Always provide a srcpad
authorSebastian Dröge <sebastian@centricular.com>
Thu, 22 Sep 2016 15:25:18 +0000 (11:25 -0400)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 22 Sep 2016 15:30:58 +0000 (11:30 -0400)
commit7aa69d0ea0a71fcf388ac71bdf243d9c8e2da7e9
tree78eeb89335b7fb2bf805715ed217ef943551ab76
parent5a0731a0a5374a547a7085296e79bd585fed6838
nleurisource: Always provide a srcpad

By putting uridecodebin into a bin with a ghostpad. Without this,
nlesource tries to get a srcpad too early (before uridecodebin added
one) and everything fails miserably.

This has to be fixed properly in nlesource at some point, by properly
handling dynamically added pads. Currently they can only work if they
are added in states <= READY, which is not the usual case.

https://bugzilla.gnome.org/show_bug.cgi?id=771843
plugins/nle/nleurisource.c
plugins/nle/nleurisource.h