[PATCH 3/3] amstream: Render source file in IAMMultiMediaStreamImpl_OpenFile. (resend)

Christian Costa titan.costa at gmail.com
Fri Oct 12 00:16:06 CDT 2012


---
 dlls/amstream/amstream.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/dlls/amstream/amstream.c b/dlls/amstream/amstream.c
index a78abee..833d360 100644
--- a/dlls/amstream/amstream.c
+++ b/dlls/amstream/amstream.c
@@ -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)




More information about the wine-patches mailing list