Maarten Lankhorst : quartz: Don' t abort starting for unconnected pin in avi splitter.

Alexandre Julliard julliard at winehq.org
Mon Sep 22 07:04:58 CDT 2008


Module: wine
Branch: master
Commit: c71ba1a141030a7c32f3809943b1dfaf0acbe10f
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c71ba1a141030a7c32f3809943b1dfaf0acbe10f

Author: Maarten Lankhorst <maarten at codeweavers.com>
Date:   Mon Sep 15 19:48:08 2008 +0200

quartz: Don't abort starting for unconnected pin in avi splitter.

---

 dlls/quartz/avisplit.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/dlls/quartz/avisplit.c b/dlls/quartz/avisplit.c
index e93d1d1..b688717 100644
--- a/dlls/quartz/avisplit.c
+++ b/dlls/quartz/avisplit.c
@@ -447,10 +447,12 @@ static HRESULT AVISplitter_first_request(LPVOID iface)
 
         /* Could be an EOF instead */
         have_sample = (hr == S_OK);
-        if (FAILED(hr))
-            break;
         if (hr == S_FALSE)
             AVISplitter_SendEndOfFile(This, x);
+
+        if (FAILED(hr) && hr != VFW_E_NOT_CONNECTED)
+            break;
+        hr = S_OK;
     }
 
     /* FIXME: Don't do this for each pin that sent an EOF */




More information about the wine-cvs mailing list