Mercurial > mplayer.hg
changeset 25052:7b2b17b57cf7
Disable terminating directshow chains with NullRenderer filter,
bacause this causes jerky video.
author | voroshil |
---|---|
date | Sat, 17 Nov 2007 19:32:18 +0000 |
parents | ae7926711cd2 |
children | 086c2accaaa2 |
files | stream/tvi_dshow.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/tvi_dshow.c Sat Nov 17 19:08:03 2007 +0000 +++ b/stream/tvi_dshow.c Sat Nov 17 19:32:18 2007 +0000 @@ -1426,6 +1426,12 @@ OLE_RELEASE_SAFE(pEnum); }else { +#if 0 + /* + Code below is disabled, because terminating chain with NullRenderer leads to jerky video. + Perhaps, this happens because NullRenderer filter discards each received + frame while discarded frames causes live source filter to dramatically reduce frame rate. + */ /* adding sink for video stream */ hr = CoCreateInstance((GUID *) & CLSID_NullRenderer, NULL,CLSCTX_INPROC_SERVER, &IID_IBaseFilter,(void *) &pNR); if(FAILED(hr)){ @@ -1453,6 +1459,7 @@ break; } } +#endif } hr = S_OK;