Capturing flush_start event with pad probe

Sergio Ortega sortegagamero at gmail.com
Sat Jul 5 09:34:08 PDT 2014


Hi,

Well, I've created the loop detecting the eos event. Once I've detected it I use the flush to delete the EOS from the elements which have received it.

Sergio

Enviado desde mi iPhone

> El 04/07/2014, a las 17:43, Luis de Bethencourt <luis at debethencourt.com> escribió:
> 
> 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
> 
> _______________________________________________
> 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/20140705/436b1322/attachment.html>


More information about the gstreamer-devel mailing list