Skip to content
  • Tim-Philipp Müller's avatar
    appsrc: don't signal the GCond if no one is waiting on it · 4fe51789
    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.
    4fe51789