Blocking gst_pad_send_event with gst_event_new_eos

Marc Lievens ml at bigbrother-security.be
Fri Aug 7 01:21:14 PDT 2015


Hi,

I'm using gstreamer 1.5.0 with pipeline rtspsrc! rtph264depay! h264parse! matroskamux ! filesink

When I send a gst_pad_send_event(matroskamux sink , gst_event_new_eos())) it block sometimes.
I have the idea that this happens only when the pipeline is in the PAUSED state.

This happens sometimes when I receive a GST_MESSAGE_ERROR, I'm sending the specified eos message.
When I receive this message I have to cleanup  and to update some resources.

At normal recording I'm using the same eos mechanism when I have to switch to a new file and then I never have any problems.

At this time I have No idea what I'm doing wrong.
Any help is welkom.

Met vriendelijke groet, Sincerely, Cordialement,

Marc Lievens
Research & Development

[cid:image40eb81.PNG at 8f46655d.49bc68d9]<http://www.bigbrother.nl/nl/petrol/blog/>


[cid:image016aea.PNG at b7f98e21.4b9581fe] ml at bigbrother-security.be<mailto:ml at bigbrother-security.be>
[cid:imageb89c1b.PNG at 61dd6d52.4d8ee00b] +32 3 8708888


[cid:image765348.PNG at 1bf25399.449d8f79]<http://www.linkedin.com/company/1241845?trk=tyah>

[cid:imaged34ef6.PNG at 0b6127fe.489140e1] [cid:imageada110.PNG at 99685a31.48a1e40a] <http://www.bigbrother-security.be>
[cid:image7863c1.PNG at 3869a718.40b3e8d3]<http://www.bigbrother.nl>

Disclaimer: This e-mail is intended exclusively for the addressee(s), and may not be passed on to, or made available for use by any
person other than the addressee(s). If you have received this email by error then please delete it and notify the sender by return e-mail.
In case of doubt about correctness or completeness of this e-mail, please contact the sender. BigBrother BV dismisses any and every
liability resulting from any electronic transmission.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image40eb81.PNG
Type: image/png
Size: 23876 bytes
Desc: image40eb81.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image016aea.PNG
Type: image/png
Size: 508 bytes
Desc: image016aea.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb89c1b.PNG
Type: image/png
Size: 585 bytes
Desc: imageb89c1b.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image765348.PNG
Type: image/png
Size: 2338 bytes
Desc: image765348.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imaged34ef6.PNG
Type: image/png
Size: 3758 bytes
Desc: imaged34ef6.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageada110.PNG
Type: image/png
Size: 2113 bytes
Desc: imageada110.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image7863c1.PNG
Type: image/png
Size: 2346 bytes
Desc: image7863c1.PNG
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150807/e3b29d50/attachment-0013.png>


More information about the gstreamer-devel mailing list