matroxsrc: remove unneeded property query
This was also causing crashes on Windows 10 with Radient eV-CXP
This commit is contained in:
parent
bf76de5b03
commit
f672711bda
@ -469,7 +469,6 @@ gst_matroxsrc_start (GstBaseSrc * bsrc)
|
|||||||
gint height;
|
gint height;
|
||||||
gint bpp;
|
gint bpp;
|
||||||
gint n_bands;
|
gint n_bands;
|
||||||
gint source_format;
|
|
||||||
gint bayer_pattern;
|
gint bayer_pattern;
|
||||||
gchar bayer_pattern_format[5];
|
gchar bayer_pattern_format[5];
|
||||||
gint is_bayer_conversion;
|
gint is_bayer_conversion;
|
||||||
@ -545,10 +544,6 @@ gst_matroxsrc_start (GstBaseSrc * bsrc)
|
|||||||
n_bands = MdigInquire (src->MilDigitizer, M_SIZE_BAND, M_NULL);
|
n_bands = MdigInquire (src->MilDigitizer, M_SIZE_BAND, M_NULL);
|
||||||
src->mil_type = MdigInquire (src->MilDigitizer, M_TYPE, 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);
|
gst_video_info_init (&vinfo);
|
||||||
|
|
||||||
if (src->caps) {
|
if (src->caps) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user