euresyssrc: set video format more fully to fix colorized grayscale issue

This commit is contained in:
Joshua M. Doe 2016-07-06 12:06:18 -04:00
parent 6c39c4ee93
commit f2c86ccd48

View File

@ -620,11 +620,9 @@ gst_euresys_get_camera_caps (GstEuresys * src)
}
gst_video_info_init (&vinfo);
vinfo.width = width;
vinfo.height = height;
vinfo.finfo = gst_video_format_get_info (videoFormat);
gst_video_info_set_format (&vinfo, videoFormat, width, height);
vinfo.fps_n = 30;
vinfo.fps_d = 1;
caps = gst_video_info_to_caps (&vinfo);
if (caps == NULL) {