mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
baseparse: propagate return value of GstBaseParse::set_sink_caps()
gst_base_parse_sink_setcaps() presumably should fail if the subclass returns FALSE from its ::set_sink_caps() function.
This commit is contained in:
parent
09243a12bd
commit
d49e8731c0
1 changed files with 1 additions and 1 deletions
|
@ -1739,5 +1739,5 @@ gst_base_parse_sink_setcaps (GstPad * pad, GstCaps * caps)
|
|||
res = klass->set_sink_caps (parse, caps);
|
||||
|
||||
parse->negotiated = res;
|
||||
return gst_pad_set_caps (pad, caps);
|
||||
return res && gst_pad_set_caps (pad, caps);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue