[MPlayer-cvslog] r30516 - trunk/loader/dshow/DS_Filter.c

reimar subversion at mplayerhq.hu
Fri Feb 5 18:20:21 CET 2010


Author: reimar
Date: Fri Feb  5 18:20:21 2010
New Revision: 30516

Log:
Release pin enumerator after we are done using it.
Fixes issues with CoreAVC tray icon.
Patch by Gianluigi Tiesi [mplayer netfarm it]

Modified:
   trunk/loader/dshow/DS_Filter.c

Modified: trunk/loader/dshow/DS_Filter.c
==============================================================================
--- trunk/loader/dshow/DS_Filter.c	Fri Feb  5 18:13:47 2010	(r30515)
+++ trunk/loader/dshow/DS_Filter.c	Fri Feb  5 18:20:21 2010	(r30516)
@@ -209,6 +209,7 @@ DS_Filter* DS_FilterCreate(const char* d
 
 	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++)


More information about the MPlayer-cvslog mailing list