Bug in dynamic pipeline example code

David Jaggard davywj at gmail.com
Fri Dec 11 06:30:09 PST 2015


http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-dynamic-pipelines.html

At this point:

  if (GST_EVENT_TYPE (GST_PAD_PROBE_INFO_DATA (info)) != GST_EVENT_EOS)
    return GST_PAD_PROBE_OK;


I believe this should return GST_PAD_PROBE_PASS to pass the event on down
to the next element without blocking.

Also, a couple of lines below that is the comment:

/* push current event back into the queue */

This should say "current effect". It's a very confusing comment in the
context of this callback.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151211/53565e8c/attachment.html>


More information about the gstreamer-devel mailing list