A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://gstreamer.freedesktop.org/documentation/threadshare/ts-blocking-adapter.html below:

ts-blocking-adapter

ts-blocking-adapter

Thread-sharing downstream blocking branch async adapter.

When a threadshare element streams buffers to an element which synchronizes on the clock or which uses a limited blocking queue, the threadshare context is perdiodically blocked, preventing other async tasks from progressing.

One workaround is to use a regular queue with enough buffering to cope with early buffers. This is suboptimal though because this queue doesn't propagate backpressure upstream.

The ts-blocking-adapter applies an async backpressure when downstream blocks, allowing the threadshare context to process other tasks. This is achieved by having the 'sink' Pad forward serialized items (buffers, ...) to the 'src' Pad Task (thread) via a rendezvous channel.

Hierarchy Factory details

Authors: – François Laignel

Classification: – Generic

Rank – none

Plugin – threadshare

Package – gst-plugin-threadshare

Pad Templates sink
ANY

Presence – always

Direction – sink

Object type – GstPad

src
ANY

Presence – always

Direction – src

Object type – GstPad

The results of the search are


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4