splitmuxsrc: Protect total_duration state variable with the object lock.
authorJan Schmidt <jan@centricular.com>
Thu, 19 Mar 2015 09:29:44 +0000 (20:29 +1100)
committerJan Schmidt <jan@centricular.com>
Mon, 8 Jun 2015 04:16:36 +0000 (14:16 +1000)
commit94e113c6c68eecc4b6ebee17b931ffc03a5d44cb
tree134e3b4b9e8236ffee5ac408fb5661539c16e725
parentd7794a6f6102fd5c9562697bf62c3e3a66454528
splitmuxsrc: Protect total_duration state variable with the object lock.

Prevent deadlocks from downstream querying duration from the streaming thread.
gst/multifile/gstsplitmuxsrc.c