rtp, audio live pipeline, shutdown, eos is too fast on multicore machine

Thomas Roos thomas at roosesweb.de
Mon Oct 19 04:25:40 PDT 2015


by returning  TRUE by the bus_message_cb the bus message should be
available to the gst_bus_timed_pop_filtered() again?
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstBus.html#GstBusFunc

2015-10-19 12:23 GMT+02:00 Sebastian Dröge <slomo at coaxion.net>:
> On Mo, 2015-10-19 at 12:12 +0200, Thomas Roos wrote:
>> I solved my specific problem by removing my
>> bus_message_cb added by gst_bus_add_watch ()
>> before I wait in
>> gst_bus_timed_pop_filtered()
>> for the EOS
>> now I can't reproduce that the EOS message is lost, but don't
>> understand why it happens sometimes!?
>> I couldn't find any note in the docs that it's not possible to use
>> gst_bus_timed_pop_filtered() while having a cb added by
>> gst_bus_add_watch ()!?
>> Can anyone please explain this to me?
>
> My guess would be that both are competing for messages then, and only
> one will get every message. Which one it is would be random then.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>


More information about the gstreamer-devel mailing list