Mercurial > mplayer.hg
diff loader/dshow/DS_Filter.c @ 30474:31a00b2a621f
Release pin enumerator after we are done using it.
Fixes issues with CoreAVC tray icon.
Patch by Gianluigi Tiesi [mplayer netfarm it]
author | reimar |
---|---|
date | Fri, 05 Feb 2010 17:20:21 +0000 |
parents | 008338d7679f |
children | c121d03db8b9 |
line wrap: on
line diff
--- a/loader/dshow/DS_Filter.c Fri Feb 05 17:13:47 2010 +0000 +++ b/loader/dshow/DS_Filter.c Fri Feb 05 17:20:21 2010 +0000 @@ -209,6 +209,7 @@ enum_pins->vt->Reset(enum_pins); result = enum_pins->vt->Next(enum_pins, (ULONG)256, (IPin**)array, &fetched); + enum_pins->vt->Release(enum_pins); Debug printf("Pins enumeration returned %ld pins, error is %x\n", fetched, (int)result); for (i = 0; i < fetched; i++)