mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 09:04:15 +00:00
gst/gstpad.c: really reduce the set of caps
Original commit message from CVS: * gst/gstpad.c: (gst_pad_proxy_fixate): really reduce the set of caps
This commit is contained in:
parent
d0459102c0
commit
a6c45e0b76
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-05-08 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
|
* gst/gstpad.c: (gst_pad_proxy_fixate):
|
||||||
|
really reduce the set of caps
|
||||||
|
|
||||||
2004-05-08 Benjamin Otte <otte@gnome.org>
|
2004-05-08 Benjamin Otte <otte@gnome.org>
|
||||||
|
|
||||||
* tests/Makefile.am:
|
* tests/Makefile.am:
|
||||||
|
|
|
@ -2408,7 +2408,7 @@ gst_pad_proxy_fixate (GstPad * pad, const GstCaps * caps)
|
||||||
if (otherpad != pad) {
|
if (otherpad != pad) {
|
||||||
othercaps = gst_pad_get_negotiated_caps (otherpad);
|
othercaps = gst_pad_get_negotiated_caps (otherpad);
|
||||||
|
|
||||||
if (othercaps) {
|
if (othercaps && !gst_caps_is_subset (caps, othercaps)) {
|
||||||
GstCaps *icaps;
|
GstCaps *icaps;
|
||||||
|
|
||||||
icaps = gst_caps_intersect (othercaps, caps);
|
icaps = gst_caps_intersect (othercaps, caps);
|
||||||
|
|
Loading…
Reference in a new issue