gst/gstpad.c: Short-circuit gst_pad_set_caps if setting the existing caps pointer...
authorJan Schmidt <thaytan@mad.scientist.com>
Fri, 19 May 2006 13:46:10 +0000 (13:46 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Fri, 19 May 2006 13:46:10 +0000 (13:46 +0000)
commit53f023528fd448e02947fe1b0d12f59dc4cc8584
tree7cfb8154905e03e5ae7892365aa9a2faaf9e6884
parent120ba1596b7135266802213a8b32c105d2140471
gst/gstpad.c: Short-circuit gst_pad_set_caps if setting the existing caps pointer again, and avoid printing debug and...

Original commit message from CVS:
* gst/gstpad.c: (gst_pad_set_caps):
Short-circuit gst_pad_set_caps if setting the existing
caps pointer again, and avoid printing debug and
reffing/unreffing the caps.
* plugins/elements/gstqueue.c: (gst_queue_push_one):
There's actually no need to set the caps before pushing -
the acceptcaps method will handle it anyway.
ChangeLog
gst/gstpad.c
plugins/elements/gstqueue.c