Displaying 1 result from an estimated 1 matches for "imediasample_gettime".
2010 Jun 21
1
Question about wine qcap v4l's MediaSampleTime
...);
in wine/dlls/quartz/memallocator.c:
StdMediaSample2_GetTime(IMediaSample2 * iface, REFERENCE_TIME * pStart, REFERENCE_TIME * pEnd)
--> if tstart/stop is NULL, leave pStart/pEnd not setted.
in wine/dlls/quartz/videorenderer.c:
VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
--> IMediaSample_GetTime(pSample, &tStart, &tStop)
--> use tStart/tStop and current time to judge when to show the sample
--> VideoRenderer_SendSampleData(This, pbSrcStream, cbSrcStream);
why does OutputPin_GetDeliveryBuffer() set the MediaSample's start and stop reference time both to NULL? Consider thi...