Fix a problem where the scope would apperar to freeze for a few seconds when changing tracks.
This commit is contained in:
parent
505bace684
commit
e4c3c600b9
@ -193,6 +193,10 @@ Engine::State GstEngine::state() const {
|
||||
}
|
||||
|
||||
void GstEngine::AddBufferToScope(GstBuffer* buf) {
|
||||
GstEnginePipeline* pipeline = qobject_cast<GstEnginePipeline*>(sender());
|
||||
if (!pipeline || pipeline != current_pipeline_.get())
|
||||
return;
|
||||
|
||||
g_queue_push_tail(delayq_, buf);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user