mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-11 23:54:18 +00:00
Avoided a problem in DirectShowComponent that caused crashes in error cases.
This commit is contained in:
parent
6e455aa1cb
commit
dfc4428af6
1 changed files with 2 additions and 2 deletions
|
|
@ -405,6 +405,8 @@ public:
|
|||
|
||||
while (SUCCEEDED (mediaEvent->GetEvent (&ec, &p1, &p2, 0)))
|
||||
{
|
||||
mediaEvent->FreeEventParams (ec, p1, p2);
|
||||
|
||||
switch (ec)
|
||||
{
|
||||
case EC_REPAINT:
|
||||
|
|
@ -427,8 +429,6 @@ public:
|
|||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
mediaEvent->FreeEventParams (ec, p1, p2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue