summaryrefslogtreecommitdiff
path: root/src/mediactl.h
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@iki.fi>2011-10-07 18:38:08 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2011-10-08 13:32:28 +0200
commitfa46b9ec30558c5c3680b167e7a4b4966c6e9e46 (patch)
treef441a2c1889683f7c6e2ebd96e73ac9814091ea0 /src/mediactl.h
parent2738635d82da5f010bae6a60472a6306df949ea5 (diff)
Remove extra verbosity
Remove extra verbosity by default; "-v" option brings back what used to be there. The error messages are now being printed by main.c with the possibly helpful error code attached. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/mediactl.h')
-rw-r--r--src/mediactl.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mediactl.h b/src/mediactl.h
index b5b5965..cddf272 100644
--- a/src/mediactl.h
+++ b/src/mediactl.h
@@ -79,7 +79,6 @@ void media_debug_set_handler(
/**
* @brief Open a media device with debugging enabled.
* @param name - name (including path) of the device node.
- * @param verbose - whether to print verbose information on the standard output.
* @param debug_handler - debug message handler
* @param debug_priv - first argument to debug message handler
*
@@ -95,13 +94,12 @@ void media_debug_set_handler(
* media_close when the device isn't needed anymore.
*/
struct media_device *media_open_debug(
- const char *name, int verbose, void (*debug_handler)(void *, ...),
+ const char *name, void (*debug_handler)(void *, ...),
void *debug_priv);
/**
* @brief Open a media device.
* @param name - name (including path) of the device node.
- * @param verbose - whether to print verbose information on the standard output.
*
* Open the media device referenced by @a name and enumerate entities, pads and
* links.
@@ -110,7 +108,7 @@ struct media_device *media_open_debug(
* success and NULL on failure. The returned pointer must be freed with
* media_close when the device isn't needed anymore.
*/
-struct media_device *media_open(const char *name, int verbose);
+struct media_device *media_open(const char *name);
/**
* @brief Close a media device.