Commits

Anonymous committed e03eb93

Fixed issue with BITMAP_INFO_HEADER field name mismatch
Commented out stream_config.Release.

Comments (0)

Files changed (1)

 			raise VidCapError("Cannot query capture format")
 		p_video_info_header = cast(media_type.pbFormat, POINTER(VIDEOINFOHEADER))
 		hdr = p_video_info_header.contents.bmi_header
-		hdr.biWidth, hdr.biHeight = width, height
+		hdr.width, hdr.height = width, height
 		stream_config.SetFormat(media_type)
 		DeleteMediaType(media_type)
-		stream_config.Release()
+		#stream_config.Release()
 		#self.teardown()
 		#self.initialize()