videodecoder: Take stream lock one time only on drain
authorPhilippe Normand <philn@igalia.com>
Thu, 30 Jun 2016 14:36:27 +0000 (16:36 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 5 Jul 2016 16:38:40 +0000 (19:38 +0300)
commit6338146c06b3a72691d168fed587e1379e6ffd48
tree5df63651607d43b5e1373e8d4155433a8705e433
parente18a9d9b5fb535e52310189b794f787533c2880b
videodecoder: Take stream lock one time only on drain

When the drain is triggered from the chain function the lock is already
taken so there is no need to take it one more time.

https://bugzilla.gnome.org/show_bug.cgi?id=767641
gst-libs/gst/video/gstvideodecoder.c