Capturing flush_start event with pad probe

Luis de Bethencourt luis at debethencourt.com
Fri Jul 4 08:43:11 PDT 2014


Hi Sergio,

Why are you using flush events to create a loop instead of the Segment Done
message? Curious :)

Luis


On 4 July 2014 05:15, Sergio Ortega <sortegagamero at gmail.com> wrote:

> Good morning,
>
> My name is Sergio. I have done an encoding engine and I have attached a
> pad probe to be able to create a loop. It worked before very well in older
> versions of GStreamer 1. My problem is that I'm working with GStreamer
> 1.2.1 under Ubuntu 14.04 and now I'm unable to capture the flush_start and
> flush_stop events. Have there been any change in this version of GStreamer
> to be unable to capture these particular events? I use
>
> (unsigned long)gst_pad_add_probe(srcPad,
> (GstPadProbeType)(GST_PAD_PROBE_TYPE_BLOCK_DOWNSTREAM |
>
> GST_PAD_PROBE_TYPE_BLOCK_UPSTREAM |
>
> GST_PAD_PROBE_TYPE_EVENT_FLUSH),
>                                      (GstPadProbeReturn(*)(GstPad *,
> GstPadProbeInfo *, gpointer))interceptPadEvent, this, NULL)
>
> Any idea?
>
> Thank you very much
>
> Sergio Ortega
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140704/94f73c3c/attachment-0001.html>


More information about the gstreamer-devel mailing list