Created
October 12, 2013 21:09
-
-
Save knocte/6954949 to your computer and use it in GitHub Desktop.
addprobe?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private bool Blocked | |
{ | |
set { | |
if (vis_resampler == null) | |
return; | |
Pad queue_sink = vis_resampler.GetStaticPad ("src"); | |
queue_sink.SetBlocked (value, new PadBlockCallback (BlockCallback)); | |
} | |
} | |
private void BlockCallback (Pad pad, bool blocked) | |
{ | |
if (!blocked) { | |
// Set thawing mode (discards buffers that are too old from the queue). | |
vis_thawing = true; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment