Normal
thanks for having paste my code ;-)but i can't find where is your irc channel????so i post here a last suggestionin VideoPlayerVMR7.cs replace the actual EnableStream function:[code] public bool EnableStream(int Id,AMStreamSelectEnableFlags dwFlags,string Filter) { try { IBaseFilter foundfilter=DirectShowUtil.GetFilterByName(graphBuilder,Filter); if (foundfilter!=null) { IAMStreamSelect pStrm = foundfilter as IAMStreamSelect; if (pStrm!=null)pStrm.Enable(Id,dwFlags); pStrm=null; Marshal.ReleaseComObject(foundfilter); } } catch { } return true; }[/code]this will prevent any crash from the stream selection......thanks for all
thanks for having paste my code ;-)
but i can't find where is your irc channel????
so i post here a last suggestion
in VideoPlayerVMR7.cs replace the actual EnableStream function:
[code]
public bool EnableStream(int Id,AMStreamSelectEnableFlags dwFlags,string Filter)
{
try
IBaseFilter foundfilter=DirectShowUtil.GetFilterByName(graphBuilder,Filter);
if (foundfilter!=null)
IAMStreamSelect pStrm = foundfilter as IAMStreamSelect;
if (pStrm!=null)pStrm.Enable(Id,dwFlags);
pStrm=null;
Marshal.ReleaseComObject(foundfilter);
}
catch
return true;
[/code]
this will prevent any crash from the stream selection......
thanks for all