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:
parent
9000fc6604
commit
df5f73910b
7 changed files with 149 additions and 92 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue