Mercurial > mplayer.hg
changeset 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 | 7446f58b6899 |
children | 9f36eccc490a |
files | loader/dshow/DS_Filter.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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++)