19 Commits

Author SHA1 Message Date
Joshua M. Doe
4af04a21ba matroxsrc: don't let MIL display error dialogs
We should be handling errors in code.
2020-08-13 15:11:04 -04:00
Joshua M. Doe
f2d021c519 matroxsrc: properly close resources if initialization fails 2020-08-13 15:11:04 -04:00
Joshua M. Doe
a17e6656ad matroxsrc: actually respect channel property for selecting digitizer
Before it was ignored, so the MilConfig default was always used.
2020-08-13 15:10:45 -04:00
Joshua M. Doe
f672711bda matroxsrc: remove unneeded property query
This was also causing crashes on Windows 10 with Radient eV-CXP
2020-07-14 10:51:29 -04:00
Joshua M. Doe
bf76de5b03 matroxsrc: change device property to an enum property named system
Easier to choose system type, and language matches up with Matrox terminology
2020-07-10 15:24:12 -04:00
Joshua M. Doe
dd0a7bf93e matrox: fix reopening of a camera in same process lifetime
Matrox only wants one application object created per process
2020-07-10 14:28:05 -04:00
Joshua M. Doe
26e05b7058 build: allow overriding installation directories
More sensible defaults and allow for overriding. Also make PDB installation
optional on Windows if RelWithDebInfo isn't the build type being used.

CMAKE_INSTALL_PREFIX defaults to GStreamer install location on Windows and
/usr/lib on other platforms.

PLUGIN_INSTALL_DIR defaults to CMAKE_INSTALL_PREFIX/gstreamer-1.0

LIBRARY_INSTALL_DIR defaults to CMAKE_INSTALL_PREFIX/

PDB_INSTALL_DIR defaults to CMAKE_INSTALL_PREFIX/
2020-04-15 09:26:40 -04:00
Joshua M. Doe
59715529c7 build: only install PDBs on Windows 2020-04-14 16:17:45 -04:00
Joshua M. Doe
4ebc6b8c77 build: consistently have libgst prefix on all plugins
Before this, on Linux there'd be a liblibgst prefix
2020-04-14 16:17:45 -04:00
Joshua M. Doe
e4a308a545 fix caps to avoid videoconvert bug in 1.8 which corrupts data
Previous way of creating caps left invalid colorimetry field 0:0:0:0,
which combined with a bug present in GStreamer 1.8 led to GRAY16_LE data
being corrupted when converted to GRAY16_BE (or vice versa). Current
method will properly initialize colorimetry field, avoiding this problem
in 1.8.
2017-11-16 08:31:43 -05:00
Joshua M. Doe
bbba3dae51 build: use CMakeLists.txt instead of config.h to define plugin macros 2017-09-26 12:46:55 -04:00
Joshua M. Doe
ff8376b9d2 build: use git version info in plugins and build ZIP package 2017-08-03 10:18:51 -04:00
Joshua M. Doe
623abe0c2a matroxsrc: rename format property to config-file for uniformity 2017-05-16 10:19:26 -04:00
Joshua M. Doe
23f67133f7 matroxsrc: add support for Bayer, including option to treat as gray or demosaic 2017-05-16 10:18:52 -04:00
Joshua M. Doe
5b46c95699 matroxsrc: fix freeing of buffers 2017-05-11 09:08:27 -04:00
Joshua M. Doe
93b9f870ce matroxsrc: error out on buffer allocation failure 2017-05-09 14:56:09 -04:00
Joshua M. Doe
55e2881006 matroxsrc: fix colorized output with a monochrome source 2017-05-09 14:55:30 -04:00
Joshua M. Doe
0aa17031c3 matroxsrc: reverse order of calls to Mil*Free 2017-05-09 14:53:36 -04:00
Joshua M. Doe
376fbb5fd2 matroxsrc: add first working version of Matrox Imaging Library source 2017-05-09 13:39:16 -04:00