ext/mad/gstid3tag.c: remove leftover g_print
authorBenjamin Otte <otte@gnome.org>
Tue, 20 Apr 2004 15:51:48 +0000 (15:51 +0000)
committerBenjamin Otte <otte@gnome.org>
Tue, 20 Apr 2004 15:51:48 +0000 (15:51 +0000)
Original commit message from CVS:
* ext/mad/gstid3tag.c: (gst_id3_tag_init):
remove leftover g_print
* gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
don't try setting only a subset of the caps. We don't want to kill
autoplugging on purpose

ChangeLog
gst/audioconvert/gstaudioconvert.c

index 649fdfc..859a5a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2004-04-20  Benjamin Otte  <in7y118@public.uni-hamburg.de>
+
+       * ext/mad/gstid3tag.c: (gst_id3_tag_init):
+         remove leftover g_print
+       * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_link):
+         don't try setting only a subset of the caps. We don't want to kill
+         autoplugging on purpose
+
 2004-04-20  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * sys/ximage/ximagesink.c: (plugin_init):
index 6ca9c1c..84af4b6 100644 (file)
@@ -373,13 +373,6 @@ gst_audio_convert_link (GstPad * pad, const GstCaps * caps)
   if (!gst_audio_convert_parse_caps (caps, &ac_caps))
     return GST_PAD_LINK_REFUSED;
 
-  /* try setting our caps on the other side first */
-  if (gst_pad_try_set_caps (otherpad, caps) >= GST_PAD_LINK_OK) {
-    this->srccaps = ac_caps;
-    this->sinkcaps = ac_caps;
-    return GST_PAD_LINK_OK;
-  }
-
   /* ok, not those - try setting "any" caps */
   othercaps = gst_pad_get_allowed_caps (otherpad);
   for (i = 0; i < gst_caps_get_size (othercaps); i++) {