From 07bc4b3d015f82140d617953d861898f4e559511 Mon Sep 17 00:00:00 2001 From: Gildas Bazin Date: Mon, 8 Nov 2004 12:21:07 +0000 Subject: [PATCH] * modules/access/dshow/dshow.cpp: setup crossbars for MEDIATYPE_Stream as well. --- modules/access/dshow/dshow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp index 257921f03e..b0d7d51984 100644 --- a/modules/access/dshow/dshow.cpp +++ b/modules/access/dshow/dshow.cpp @@ -625,7 +625,8 @@ static bool ConnectFilters( vlc_object_t *p_this, access_sys_t *p_sys, // Sort out all the possible video inputs // The class needs to be given the capture filters ANALOGVIDEO input pin IEnumPins *pins = 0; - if( mediaType.majortype == MEDIATYPE_Video && + if( ( mediaType.majortype == MEDIATYPE_Video || + mediaType.majortype == MEDIATYPE_Stream ) && SUCCEEDED(p_filter->EnumPins(&pins)) ) { IPin *pP = 0; -- 2.39.2