api change
authorThomas Vander Stichele <thomas@apestaart.org>
Wed, 2 Oct 2002 08:05:23 +0000 (08:05 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Wed, 2 Oct 2002 08:05:23 +0000 (08:05 +0000)
Original commit message from CVS:
api change

gst/avi/gstavidecoder.c

index 44ccd81..9f9a596 100644 (file)
@@ -228,7 +228,7 @@ gst_avi_decoder_new_pad (GstElement *element, GstPad *pad, GstAviDecoder *avi_de
     pad = gst_element_get_pad (type, "src");
     caps = gst_pad_get_caps (pad);
 
-    if (gst_caps_check_compatibility (caps, targetcaps)) {
+    if (gst_caps_is_always_compatible (caps, targetcaps)) {
       gst_element_add_ghost_pad (GST_ELEMENT (avi_decoder), 
            gst_element_get_pad (type, "src"), gpadname);