mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
docs: pwg: fix typo in 'Dynamic negotiation' section
The point of this example is to show how to set caps on the source pad once it has been set on the sink pad. So, in passthrough mode, the caps is just copied to the source pad. https://bugzilla.gnome.org/show_bug.cgi?id=738153
This commit is contained in:
parent
6d4708a4db
commit
250e5e6038
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ static gboolean
|
|||
gst_my_filter_setcaps (GstMyFilter *filter,
|
||||
GstCaps *caps)
|
||||
{
|
||||
if (gst_pad_set_caps (filter->sinkpad, caps)) {
|
||||
if (gst_pad_set_caps (filter->srcpad, caps)) {
|
||||
filter->passthrough = TRUE;
|
||||
} else {
|
||||
GstCaps *othercaps, *newcaps;
|
||||
|
|
Loading…
Reference in a new issue