1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Fixed the position of the drag image when dragging listboxes. Minor fix for mac graphics contexts, and win32 webcam latency adjustment.

This commit is contained in:
Julian Storer 2009-12-24 12:30:25 +00:00
parent 9000fc6604
commit df5f73910b
7 changed files with 149 additions and 92 deletions

View file

@ -191,6 +191,21 @@ public:
{
firstRecordedTime = Time::getCurrentTime();
recordNextFrameTime = false;
ComSmartPtr <IPin> pin;
if (getPin (filter, PINDIR_OUTPUT, &pin))
{
ComSmartPtr <IAMPushSource> pushSource;
hr = pin->QueryInterface (IID_IAMPushSource, (void**) &pushSource);
if (pushSource != 0)
{
REFERENCE_TIME latency = 0;
hr = ps->GetLatency (&latency);
firstRecordedTime -= RelativeTime ((double) latency);
}
}
}
imageSwapLock.enter();