pcapparse: Remove unneeded unref and only set pad caps if we have caps
authorZaheer Abbas Merali <zaheermerali@gmail.com>
Wed, 14 Aug 2013 08:47:31 +0000 (10:47 +0200)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 14 Aug 2013 08:48:26 +0000 (10:48 +0200)
commit131c263248a537b5c482775f5a1e3822e30f1466
treedd9a623bc406dbe35827520e7bd941109c947cc4
parentddee83ef0bc13ce888a890f29650454e2c7ec496
pcapparse: Remove unneeded unref and only set pad caps if we have caps

Fixes crashes due to invalid unrefs.

https://bugzilla.gnome.org/show_bug.cgi?id=705957
gst/pcapparse/gstpcapparse.c