gstreamer/plugins
Jan Schmidt 8e670a23b0 queue2: Defer downstream bitrate query to the streaming thread.
When we want to perform a downstream bitrate query, just
set the reconfigure flag on the srcpad and get the streaming
thread to do it. That avoids emitting a downstream query
when receiving the upstream RECONFIGURE event - which can
lead to deadlocks if downstream is sending the event from
within a lock - e.g. input-selector.

If querying the downstream bitrate changes the cached
value, then make sure to update our buffering state
and potentially post a BUFFERING message to the application.

Fixes: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/566
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/501>
2020-06-05 10:29:19 +00:00
..
elements queue2: Defer downstream bitrate query to the streaming thread. 2020-06-05 10:29:19 +00:00
tracers tracers: rusage: use thread-local storage for per-thread stats 2020-02-28 15:54:38 +00:00
meson.build Meson: Add 'coretracers' feature option 2019-12-03 19:01:38 -05:00