videotestsrc: Protect videoinfo with object lock
authorOlivier Crête <olivier.crete@collabora.com>
Tue, 23 May 2017 06:43:26 +0000 (08:43 +0200)
committerOlivier Crête <olivier.crete@collabora.com>
Tue, 23 May 2017 06:54:25 +0000 (08:54 +0200)
commit4fdb5ab675452fd5dfc0cb39f283356dd00c8c4a
treecbcfab9120ccab3e0eaf8f802acf23155e6a27df
parent18e55dcdc06ba9e66cd41b1a343bf5492e4a8a94
videotestsrc: Protect videoinfo with object lock

The videoinfo is set in the streaming thread, but can be read by any
thread from the various queries, so protect it with the object lock.
gst/videotestsrc/gstvideotestsrc.c
gst/videotestsrc/gstvideotestsrc.h