Commit 08ae041c authored by tanel's avatar tanel
Browse files

small bug

parent 14b1f020
......@@ -56,8 +56,8 @@ void GstBufferSource::PushBuffer(GstBuffer *buf) {
}
void GstBufferSource::SetEnded(bool ended) {
ended_ = ended;
g_mutex_lock(&lock_);
ended_ = ended;
g_cond_signal(&data_cond_);
g_mutex_unlock(&lock_);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment