videodecoder: Use the object lock to protect bytes/time tracking
authorSebastian Dröge <sebastian@centricular.com>
Mon, 4 Jul 2016 08:55:07 +0000 (10:55 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 4 Jul 2016 08:55:07 +0000 (10:55 +0200)
commit66342c5c86900d88d1a1c35f3a3aa6ab1b243580
treee152b9aa09c1d1034b5209935bd2085cbb6d8b1a
parent3cabd3fe5539fcdce535848e5087ff8cf69f17b8
videodecoder: Use the object lock to protect bytes/time tracking

And especially don't use the stream lock for that, as otherwise non-serialized
queries (CONVERT) will cause the stream lock to be taken and easily causes the
application to deadlock.

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