mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-06-08 17:19:25 +00:00
fix return value of getcaps
Original commit message from CVS: fix return value of getcaps
This commit is contained in:
parent
80af5ab27f
commit
d3eb290996
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue