diff options
author | Mathieu Duponchelle <mathieu@centricular.com> | 2018-07-07 03:40:49 +0200 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2018-07-18 17:11:21 +0100 |
commit | 8ad57f24078ca3c49776969bb1017520c0277428 (patch) | |
tree | 5737da9cdeb3ec162d1eea99f6eb7d509f839683 /docs/plugins/inspect | |
parent | 993e2965616d560e76811ebee7f082d272aadd2d (diff) | |
download | gstreamer-plugins-bad-8ad57f24078ca3c49776969bb1017520c0277428.tar.gz |
find_codec_preferences: use received caps
When negotiation is triggered by receiving caps on our sink pad
probes, we could encounter a race condition where need-negotiation
is emitted and the application requires the creation of an offer
before the current caps were actually updated.
This led to retrieving incomplete caps when creating the offer,
using find_codec_preferences -> pad_get_current_caps.
Instead, as we save the caps in the probe callback anyway, it is better
and thread safe to use these if they were set.
https://bugzilla.gnome.org/show_bug.cgi?id=796801
Diffstat (limited to 'docs/plugins/inspect')
0 files changed, 0 insertions, 0 deletions