You are not logged in.
Pages: 1
I've just wasted 3 days on figuring out how to switch between silence and a file source using gstreamer's input-selector, and how to feed the resulting ogg stream over http using gstreamer and cherrypy, and I'm starting to get pissed. The gstreamer docs are utter rubbish, #gstreamer and the gstreamer mailing lists are of no help, #cherrypy is dead, and the gstreamer source comments can only be understood by those who've written them. Wtf is this supposed to mean, for example:
/* If we aren't forwarding the event (because the pad is not the
* active_sinkpad, and select_all is not set, then set the flag on the
* that says a segment needs sending if/when that pad is activated.
* For all other cases, we send the event immediately, which makes
* sparse streams and other segment updates work correctly downstream.
*/
"Set the flag on the that says" ?? the what??? ._. What a piece of junk.
Now, post a report of _your_ stay in hell. Has it ever happened to you that you've spent hour after hour after hour trying to figure out how to do something, constantly hitting a brick wall?
:>
Last edited by Shapeshifter (2010-01-23 19:03:20)
Offline
i've got a similar gstreamer issue, maybe you want to look for an example in base plugins gst/playback/playbin2.c (playbin2 uses input-selector iirc)
P.S. read the gstreamer application development manual to understand what pads/events are. basically events are messages like 'tag found' or 'eos' etc, and so what that comment means is that events will not be sent from inputs that aren't currently selected, but will be queued and sent once it is. It's a bit grammatically incorrect though, here's how I would spell it out:
If we aren't forwarding the event (because the pad is not the active-pad, and select-all is not set), then set a flag on the input that says an event needs sending when that pad is activated. Otherwise we send the event immediately, which makes sparse streams and other segment updates work correctly downstream.
Note that 'active-pad' and 'select-all' are properties of GstInputSelector. If you read this you'll find more information
Last edited by PirateJonno (2010-01-24 02:23:07)
"You can watch for your administrator to install the latest kernel with watch uname -r" - From the watch man page
Offline
Pages: 1