Re: AW: Re: AW: Problems with dropping frames with EVR
My bad, I didnt search from the whole project inside dshowhelper. I had a look and it is the way how samples are asked from EVR queue (MSDN -> Uncompressed Video Buffers (Windows)).
Dunno why it is so slow on some cases, but its not our code that causes it to be slow (unless ome MP thread is blocking the CPU...). I'll check how slow it is on my dev pc.
No, as plugins can create own threads, with any priority level they want. Or plugins can use the MP main thread as well to do what ever they want. It's up to plugin developers to write code that is sane.
For shure it is used.
Function: MPEVRCustomPresenter:resentSample
Code:place2 = GetCurrentTimestamp(); CHECK_HR(hr = MyGetService( pBuffer, MR_BUFFER_SERVICE, __uuidof(IDirect3DSurface9), (void**)&pSurface), "failed: MyGetService"); place2 = GetCurrentTimestamp()-place2;
The place 2 variables are from my testing how long it takes. And it takes between 0.3s up to 15ms on my system. I'm not shure why this result is not cached. But there are more strange places where my measurement shows strange ms consumption.
My bad, I didnt search from the whole project inside dshowhelper. I had a look and it is the way how samples are asked from EVR queue (MSDN -> Uncompressed Video Buffers (Windows)).
Dunno why it is so slow on some cases, but its not our code that causes it to be slow (unless ome MP thread is blocking the CPU...). I'll check how slow it is on my dev pc.
Regarding plugins:
@tourettes:
Isn't it possible to run all plugins under LOW / IDLE system priority in general?
No, as plugins can create own threads, with any priority level they want. Or plugins can use the MP main thread as well to do what ever they want. It's up to plugin developers to write code that is sane.