gst/audioconvert/gstaudioconvert.c: Use gst_pad_try_set_caps_nonfixed().
authorDavid Schleef <ds@schleef.org>
Tue, 27 Jan 2004 09:05:22 +0000 (09:05 +0000)
committerDavid Schleef <ds@schleef.org>
Tue, 27 Jan 2004 09:05:22 +0000 (09:05 +0000)
Original commit message from CVS:
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
Use gst_pad_try_set_caps_nonfixed().

ChangeLog
gst/audioconvert/gstaudioconvert.c

index 397fbd860ea74500cb3b3d901861c5b252cda7c2..ff0728829abf3d5f77e2284dbec1257c23ef0bd0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index ee3976fad28bc1fd39cd734c8c9fe41f8e6f71b7..6d6b9414ef5dd57b8a8da8d29fccf3c2f12bbda6 100644 (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;