Commit b50762aa authored by Gildas Bazin's avatar Gildas Bazin

* Merged trunk changes r9242:9243 to 0.8.1 branch.

parent b903bdfd
...@@ -625,7 +625,8 @@ static bool ConnectFilters( vlc_object_t *p_this, access_sys_t *p_sys, ...@@ -625,7 +625,8 @@ static bool ConnectFilters( vlc_object_t *p_this, access_sys_t *p_sys,
// Sort out all the possible video inputs // Sort out all the possible video inputs
// The class needs to be given the capture filters ANALOGVIDEO input pin // The class needs to be given the capture filters ANALOGVIDEO input pin
IEnumPins *pins = 0; IEnumPins *pins = 0;
if( mediaType.majortype == MEDIATYPE_Video && if( ( mediaType.majortype == MEDIATYPE_Video ||
mediaType.majortype == MEDIATYPE_Stream ) &&
SUCCEEDED(p_filter->EnumPins(&pins)) ) SUCCEEDED(p_filter->EnumPins(&pins)) )
{ {
IPin *pP = 0; IPin *pP = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment