decodebin: Close a small race posting 100% buffering
authorJan Schmidt <jan@centricular.com>
Fri, 17 Mar 2017 14:10:54 +0000 (01:10 +1100)
committerJan Schmidt <jan@centricular.com>
Fri, 17 Mar 2017 15:03:47 +0000 (02:03 +1100)
commit0b6a933e0164608fed3fb76d3c8e8b515e81f04b
treecba238fa385e5c674e1b1de3d9f486deaf345cf5
parent94da76d30131be08388528651f181e91ab238e37
decodebin: Close a small race posting 100% buffering

When posting 100% buffering due to removing the last
buffering element, we still need to hold the posting
lock as well, to avoid any race with other elements
that might post a buffering message at that exact
moment
gst/playback/gstdecodebin2.c