fix return value of getcaps

Original commit message from CVS:
fix return value of getcaps
This commit is contained in:
David Schleef 2003-11-29 00:11:26 +00:00
parent 80af5ab27f
commit d3eb290996
2 changed files with 2 additions and 2 deletions

View file

@ -205,7 +205,7 @@ gst_queue_getcaps (GstPad *pad, const GstCaps2 *caps)
if (otherpad)
return gst_pad_get_allowed_caps (otherpad);
return NULL;
return gst_caps2_new_any ();
}
static void

View file

@ -205,7 +205,7 @@ gst_queue_getcaps (GstPad *pad, const GstCaps2 *caps)
if (otherpad)
return gst_pad_get_allowed_caps (otherpad);
return NULL;
return gst_caps2_new_any ();
}
static void