gst/audioconvert/gstaudioconvert.c: Use gst_pad_try_set_caps_nonfixed().

Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Use gst_pad_try_set_caps_nonfixed().
This commit is contained in:
David Schleef 2004-01-27 09:05:22 +00:00
parent e4593b1536
commit 8fe7678826
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,9 @@
2004-01-22 David Schleef <ds@schleef.org>
2004-01-27 David Schleef <ds@schleef.org>
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Use gst_pad_try_set_caps_nonfixed().
2004-01-27 David Schleef <ds@schleef.org>
* gst/ac3parse/gstac3parse.c: update to checklist 5
* gst/adder/gstadder.c: rewrite negotiation. update to checklist 5

View file

@ -330,7 +330,7 @@ gst_audio_convert_link (GstPad *pad, const GstCaps *caps)
GstStructure *structure = gst_caps_get_structure (othercaps, i);
gst_structure_set (structure, "rate", G_TYPE_INT, ac_caps.rate, NULL);
}
ret = gst_pad_try_set_caps (otherpad, othercaps);
ret = gst_pad_try_set_caps_nonfixed (otherpad, othercaps);
gst_caps_free (othercaps);
if (ret < GST_PAD_LINK_OK)
return ret;