View Single Post
Old 2008-05-15, 03:28   #2 (permalink)
iosub
Portal Member
 
Join Date: Apr 2006
Location: San Sebastian
Posts: 411
Thanks: 7
Thanked 19 Times in 12 Posts

My System

Default

Hi
Thanks to swede, I think I have found a possible problem and a Fix for "No responding window"
On
TsReaderPlayer
Line 366 there is a code
if (strAudioRenderer.Length > 0)
_audioRendererFilter = DirectShowUtil.AddAudioRendererToGraph(_graphBuild er, strAudioRenderer, true);


and running in Debug mode I have seen that the line takes more that 2 sec to run.. (and creates the NoResponding Window)

So I have go inside DirectshowUtil.cs and check:
public static IBaseFilter AddAudioRendererToGraph(IGraphBuilder graphBuilder, string strFilterName, bool setAsReferenceClock)

On line 150 there is this code
NewFilter = (IBaseFilter)Marshal.BindToMoniker(filter.MonikerS tring);
this code takess long time to run..

so I have change to:
System.Windows.Forms.Application.DoEvents();
NewFilter = (IBaseFilter)Marshal.BindToMoniker(filter.MonikerS tring);
applicaction

I have also change the "audiorender of DVD, TV and Movies" from "default directshow" to "Realtek Digital Output" and ... NO MORE "No responding Windows", Starting TV, moving from One TvCard to another card or Starting a DVD.. also, the MP is not minimized so the desktop is not show.

Hope this helps!!

Iosu

If anyone ones to try.... I have the core.dll

This is for build 19104
Attached Files
File Type: zip NoRespondingBuild19104.zip (1.03 MB, 18 views)

Last edited by iosub; 2008-05-15 at 03:37.
iosub is offline   Reply With Quote