Skip to content
  • Tim-Philipp Müller's avatar
    appsink: don't signal the GCond if no one is waiting on it · 0846ceef
    Tim-Philipp Müller authored
    Performance optimisation: Keep track whenever the streaming
    thread or the application thread are waiting on the GCond
    for more space or new data, and only signal on the GCond if
    someone is actually waiting. Avoids unnecessary syscalls and
    thus context switches.
    0846ceef