quartz: Set data length in avi decompressor.
This commit is contained in:
parent
40c0566879
commit
9473b750bf
|
@ -125,6 +125,7 @@ static HRESULT AVIDec_ProcessSampleData(TransformFilterImpl* pTransformFilter, I
|
||||||
if (res != ICERR_OK)
|
if (res != ICERR_OK)
|
||||||
ERR("Error occurred during the decompression (%x)\n", res);
|
ERR("Error occurred during the decompression (%x)\n", res);
|
||||||
|
|
||||||
|
IMediaSample_SetActualDataLength(pOutSample, This->pBihOut->biSizeImage);
|
||||||
|
|
||||||
IMediaSample_SetPreroll(pOutSample, (IMediaSample_IsPreroll(pSample) == S_OK));
|
IMediaSample_SetPreroll(pOutSample, (IMediaSample_IsPreroll(pSample) == S_OK));
|
||||||
IMediaSample_SetDiscontinuity(pOutSample, (IMediaSample_IsDiscontinuity(pSample) == S_OK));
|
IMediaSample_SetDiscontinuity(pOutSample, (IMediaSample_IsDiscontinuity(pSample) == S_OK));
|
||||||
|
|
Loading…
Reference in New Issue