matroxsrc: remove unneeded property query

This was also causing crashes on Windows 10 with Radient eV-CXP
This commit is contained in:
Joshua M. Doe 2020-07-14 10:51:29 -04:00
parent bf76de5b03
commit f672711bda

View File

@ -469,7 +469,6 @@ gst_matroxsrc_start (GstBaseSrc * bsrc)
gint height;
gint bpp;
gint n_bands;
gint source_format;
gint bayer_pattern;
gchar bayer_pattern_format[5];
gint is_bayer_conversion;
@ -545,10 +544,6 @@ gst_matroxsrc_start (GstBaseSrc * bsrc)
n_bands = MdigInquire (src->MilDigitizer, M_SIZE_BAND, M_NULL);
src->mil_type = MdigInquire (src->MilDigitizer, M_TYPE, M_NULL);
/* only valid for GigE Vision and USB3 Vision */
source_format =
MdigInquire (src->MilDigitizer, M_SOURCE_DATA_FORMAT, M_PACKED);
gst_video_info_init (&vinfo);
if (src->caps) {