mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
quartz: Copy discontinuity status in acmwrapper.
This commit is contained in:
parent
2f736c4a5a
commit
4abbf915d3
@ -120,11 +120,15 @@ static HRESULT ACMWrapper_ProcessSampleData(TransformFilterImpl* pTransformFilte
|
||||
if (IMediaSample_IsDiscontinuity(pSample) == S_OK)
|
||||
{
|
||||
res = acmStreamConvert(This->has, &ash, ACM_STREAMCONVERTF_START);
|
||||
IMediaSample_SetDiscontinuity(pOutSample, TRUE);
|
||||
/* One sample could be converted to multiple packets */
|
||||
IMediaSample_SetDiscontinuity(pSample, FALSE);
|
||||
}
|
||||
else
|
||||
{
|
||||
res = acmStreamConvert(This->has, &ash, 0);
|
||||
IMediaSample_SetDiscontinuity(pOutSample, FALSE);
|
||||
}
|
||||
|
||||
if (res)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user