[MPlayer-cvslog] r25080 - trunk/stream/tvi_dshow.c
voroshil
subversion at mplayerhq.hu
Sat Nov 17 20:32:19 CET 2007
Author: voroshil
Date: Sat Nov 17 20:32:18 2007
New Revision: 25080
Log:
Disable terminating directshow chains with NullRenderer filter,
bacause this causes jerky video.
Modified:
trunk/stream/tvi_dshow.c
Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c (original)
+++ trunk/stream/tvi_dshow.c Sat Nov 17 20:32:18 2007
@@ -1426,6 +1426,12 @@ static HRESULT build_sub_graph(priv_t *
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 @@ static HRESULT build_sub_graph(priv_t *
break;
}
}
+#endif
}
hr = S_OK;
More information about the MPlayer-cvslog
mailing list