multiqueue: two small fixes for when an existing pad is requested
authorTim-Philipp Müller <tim@centricular.com>
Wed, 20 Jan 2016 09:57:00 +0000 (09:57 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Wed, 20 Jan 2016 10:06:14 +0000 (10:06 +0000)
commit469475f06b568c0165b7dc1088480e65a8f2f84a
tree70c73ae0836bf0323778de67ff8566b1567fcfbd
parenteaa992825d9fbb9071362b057349a92f4a3a5396
multiqueue: two small fixes for when an existing pad is requested

Unlock when returning NULL from gst_single_queue_new(), and don't
crash with debug logging enabled if NULL is returned.

Spotted by Steven Hoving.
plugins/elements/gstmultiqueue.c