amstream: Render source file in IAMMultiMediaStreamImpl_OpenFile.

This commit is contained in:
Christian Costa 2012-10-12 07:16:06 +02:00 committed by Alexandre Julliard
parent 7272256a60
commit 01f07fe428
1 changed files with 3 additions and 0 deletions

View File

@ -432,6 +432,9 @@ static HRESULT WINAPI IAMMultiMediaStreamImpl_OpenFile(IAMMultiMediaStream* ifac
This->ipin = ipin;
}
if (SUCCEEDED(ret) && !(flags & AMMSF_NORENDER))
ret = IGraphBuilder_Render(This->pFilterGraph, This->ipin);
if (EnumPins)
IEnumPins_Release(EnumPins);
if (BaseFilter)