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:
Benjamin Otte 2004-05-08 18:27:11 +00:00
parent d0459102c0
commit a6c45e0b76
2 changed files with 6 additions and 1 deletions

View file

@ -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>
* tests/Makefile.am:

View file

@ -2408,7 +2408,7 @@ gst_pad_proxy_fixate (GstPad * pad, const GstCaps * caps)
if (otherpad != pad) {
othercaps = gst_pad_get_negotiated_caps (otherpad);
if (othercaps) {
if (othercaps && !gst_caps_is_subset (caps, othercaps)) {
GstCaps *icaps;
icaps = gst_caps_intersect (othercaps, caps);