pcapparse: fix weird caps code
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Sep 2010 14:41:33 +0000 (16:41 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 22 Sep 2010 14:43:21 +0000 (16:43 +0200)
commitc905ec861eb945156bed4e72c5d97b399ea6bed1
tree3341c23bab5d684b343c5fdb96aa557110ae8be6
parent8e96a3393d7c9e187713b669755028d1aef27ff2
pcapparse: fix weird caps code

Remove the weird (failing) code to figure out caps on the srcpad.
Add a caps property to decide what caps to put on the outgoing buffers.
Fix an event leak.
gst/pcapparse/gstpcapparse.c
gst/pcapparse/gstpcapparse.h