gstqueue, gstqueue2: check if parent of pad is NULL in _getcaps
authorStian Selnes <stiaseln@cisco.com>
Tue, 29 Mar 2011 09:57:06 +0000 (11:57 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 8 Apr 2011 12:51:06 +0000 (14:51 +0200)
commit339df347a0eb8098335c86e4138f012974140b7c
treeb187fb05c9d5d103d72e71d16d9adaaff62ee6db
parentba6054b862403a052f21adc5422c05bd4ce46c38
gstqueue, gstqueue2: check if parent of pad is NULL in _getcaps

Parent of the pad (the queue) may be set to NULL while there is
a buffer alloc going on.
plugins/elements/gstqueue.c
plugins/elements/gstqueue2.c