videoencoder: remove the lock from gst_video_encoder_flush
authorNicola Murino <nicola.murino@gmail.com>
Thu, 28 Sep 2017 11:12:58 +0000 (13:12 +0200)
committerMatthew Waters <matthew@centricular.com>
Thu, 19 Oct 2017 14:55:10 +0000 (01:55 +1100)
commit6627dd3ae3797eb551ed2ac9980d6a19b060ba7c
treed951b5c55bf387597d9b3633620f717a193b7b7f
parent6e9edc3031935ce8d6640d9774a7c093d20d4366
videoencoder: remove the lock from gst_video_encoder_flush

The lock is already taken before calling the flush method and can lead to
deadlock for some encoders that need to take the same lock from another
thread while flushing

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