Skip to content

threadshare: build Pad{Src,Sink} with handlers

Handlers for Pad{Src,Sink} are assigned when prepare is called which prevents them from handling pre-prepare queries.

See gstreamer-rs#247 (closed)

Second commit is a slight optimization. See commit's comment. One might think it's not worth it, so I wouldn't argue if you'd prefer removing it. :)

Merge request reports