srt: avoid srtsrc segfault upon downward state change
... when it has not yet been connected to. Also, a condition variable is not a semaphore, so a lock/wait/unlock sequence is inherently racy without any state checking. So switch to a different lock and check the intended state.
Showing