[vlc-commits] dshow: Fix CapturePin initialization
Hugo Beauzée-Luyssen
git at videolan.org
Tue May 30 18:44:12 CEST 2017
vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue May 30 18:39:51 2017 +0200| [041011ab0b2303a73bddec80cfc3c4375cefcc7d] | committer: Hugo Beauzée-Luyssen
dshow: Fix CapturePin initialization
Regression introduced in e6b343dd68854fc9de383e8fb44c716221f8d403
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=041011ab0b2303a73bddec80cfc3c4375cefcc7d
---
modules/access/dshow/filter.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/access/dshow/filter.cpp b/modules/access/dshow/filter.cpp
index 34b0536811..40620b9c64 100644
--- a/modules/access/dshow/filter.cpp
+++ b/modules/access/dshow/filter.cpp
@@ -212,6 +212,7 @@ CapturePin::CapturePin( vlc_object_t *_p_input, access_sys_t *_p_sys,
p_connected_pin( NULL ), media_types(mt), media_type_count(mt_count),
cx_media_type(), i_ref( 0 )
{
+ cx_media_type.majortype = mt[0].majortype;
}
CapturePin::~CapturePin()
More information about the vlc-commits
mailing list