mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +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
2 changed files with 2 additions and 2 deletions
|
@ -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