plugins/elements/gstcapsfilter.c: The caps intersection algorithm can produce multipl...
authorJan Schmidt <thaytan@mad.scientist.com>
Thu, 18 May 2006 09:07:55 +0000 (09:07 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Thu, 18 May 2006 09:07:55 +0000 (09:07 +0000)
commit669c5a5875e621bf9f3adbcc12fb53e41220da1f
treee9702e1a6e9cca9ecbbc52d2fc0766d4c8325f36
parent754dbafe51fd472646e9c4bc4ae26fb8cfeccde4
plugins/elements/gstcapsfilter.c: The caps intersection algorithm can produce multiple copies of the caps. Until that...

Original commit message from CVS:
* plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
The caps intersection algorithm can produce multiple copies of the
caps. Until that is fixed, we need to simplify the result to be
sure whether the allowed caps are fixed or not.
* plugins/elements/gstqueue.c: (gst_queue_init),
(gst_queue_bufferalloc), (gst_queue_acceptcaps),
(gst_queue_push_one):
Proxied buffer alloc should not set the caps on the source pad.
When pushing buffers, we always accept the caps change that triggers.
This prevents negotiation errors caused by caps changing mid-stream
and then being refused on our source pad (because upstream is now
refusing those caps).
ChangeLog
plugins/elements/gstcapsfilter.c
plugins/elements/gstqueue.c