summaryrefslogtreecommitdiffstats
path: root/libhb/sync.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-06-30 04:32:49 +0000
committervan <[email protected]>2008-06-30 04:32:49 +0000
commitda80bb8d441e3c12260f2f1bc0fff218112cb42d (patch)
tree24368d205399e879475ca3acb5fda0847ed037ef /libhb/sync.c
parent45ce65f74863a7ee8d3ccf8978608794f2c91f42 (diff)
If we always require a buffer to be available on every fifo we'll eventually deadlock since video and audio run at different rates. Instead take the earliest available buffer (so we don't starve any of the fifos) but don't lock up if fifos are occasionally empty.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1542 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/sync.c')
0 files changed, 0 insertions, 0 deletions