GNOME Bugzilla – Bug 771843
nle: Fix nleurisource to actually work again
Last modified: 2016-09-30 10:49:33 UTC
See attached patches, this has to be fixed properly in nlesource at some point though, as explained in the commit message.
Created attachment 336091 [details] [review] 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.
Created attachment 336092 [details] [review] nlecomposition: Don't try to seek on an empty stack We would seek on a NULL pad then, which gives ugly assertions.
Review of attachment 336092 [details] [review]: Could you enhance the debug message to explain why that happens (ie. no children in the composition ready to be used, because duration=0 or because we are missing a commit or... there is no child). I wonder if that would deserve an error on the bus?
Review of attachment 336091 [details] [review]: OK, let's do that for now.
Attachment 336091 [details] pushed as 7aa69d0 - nleurisource: Always provide a srcpad Attachment 336092 [details] pushed as a1b923c - nlecomposition: Don't try to seek on an empty stack