cameracalibrate: Improve gst-inspect documentation

Thanks to @kazz_naka on Twitter

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1691>
This commit is contained in:
Vivia Nikolaidou 2020-10-13 13:11:06 +03:00
parent 2f29a4cde6
commit 94e1623434
2 changed files with 7 additions and 6 deletions

View file

@ -211143,7 +211143,7 @@
"elements": { "elements": {
"cameracalibrate": { "cameracalibrate": {
"author": "Philippe Renon <philippe_renon@yahoo.fr>", "author": "Philippe Renon <philippe_renon@yahoo.fr>",
"description": "Performs camera calibration", "description": "Performs camera calibration by having it point at a chessboard pattern using upstream/downstream cameraundistort",
"hierarchy": [ "hierarchy": [
"GstCameraCalibrate", "GstCameraCalibrate",
"GstOpencvVideoFilter", "GstOpencvVideoFilter",
@ -211184,7 +211184,7 @@
"writable": true "writable": true
}, },
"board-height": { "board-height": {
"blurb": "The board height in number of items", "blurb": "The board height in number of items (e.g. number of squares for chessboard)",
"conditionally-available": false, "conditionally-available": false,
"construct": false, "construct": false,
"construct-only": false, "construct-only": false,
@ -211198,7 +211198,7 @@
"writable": true "writable": true
}, },
"board-width": { "board-width": {
"blurb": "The board width in number of items", "blurb": "The board width in number of items (e.g. number of squares for chessboard)",
"conditionally-available": false, "conditionally-available": false,
"construct": false, "construct": false,
"construct-only": false, "construct-only": false,

View file

@ -204,13 +204,13 @@ gst_camera_calibrate_class_init (GstCameraCalibrateClass * klass)
g_object_class_install_property (gobject_class, PROP_BOARD_WIDTH, g_object_class_install_property (gobject_class, PROP_BOARD_WIDTH,
g_param_spec_int ("board-width", "Board Width", g_param_spec_int ("board-width", "Board Width",
"The board width in number of items", "The board width in number of items (e.g. number of squares for chessboard)",
1, G_MAXINT, DEFAULT_BOARD_WIDTH, 1, G_MAXINT, DEFAULT_BOARD_WIDTH,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
g_object_class_install_property (gobject_class, PROP_BOARD_HEIGHT, g_object_class_install_property (gobject_class, PROP_BOARD_HEIGHT,
g_param_spec_int ("board-height", "Board Height", g_param_spec_int ("board-height", "Board Height",
"The board height in number of items", "The board height in number of items (e.g. number of squares for chessboard)",
1, G_MAXINT, DEFAULT_BOARD_WIDTH, 1, G_MAXINT, DEFAULT_BOARD_WIDTH,
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS))); (GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
@ -276,7 +276,8 @@ gst_camera_calibrate_class_init (GstCameraCalibrateClass * klass)
gst_element_class_set_static_metadata (element_class, gst_element_class_set_static_metadata (element_class,
"cameracalibrate", "cameracalibrate",
"Filter/Effect/Video", "Filter/Effect/Video",
"Performs camera calibration", "Performs camera calibration by having it point at a chessboard pattern "
"using upstream/downstream cameraundistort",
"Philippe Renon <philippe_renon@yahoo.fr>"); "Philippe Renon <philippe_renon@yahoo.fr>");
/* add sink and source pad templates */ /* add sink and source pad templates */