aboutsummaryrefslogtreecommitdiffstats
path: root/src/videoinput.h
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2005-09-08 03:20:05 (GMT)
committervektor <devnull@localhost>2005-09-08 03:20:05 (GMT)
commit9a885a902fae6b5647ef55928bc9bab1bbf2dcab (patch)
treec1b755791ab2ca7baafbbbf88d611ea5c1e08975 /src/videoinput.h
parentfec5e06b0a97d4aec8331dd6eba87964d36a40ad (diff)
* tvtime/src/videoinput.h: Add an error_string field to the constructor.
* tvtime/src/videoinput.c: Provide a detailed error message when the capture card can't be opened. * tvtime/src/tvtime.c: Improve error reporting in the UI. * tvtime/src/tvtime-scanner.c: Support the new videoinput API.
Diffstat (limited to 'src/videoinput.h')
-rw-r--r--src/videoinput.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/videoinput.h b/src/videoinput.h
index a2c0c1a..511b426 100644
--- a/src/videoinput.h
+++ b/src/videoinput.h
@@ -109,7 +109,8 @@ const char *videoinput_get_audio_mode_name( videoinput_t *vidin, int mode );
* bad, and maybe for some helpful information messages.
*/
videoinput_t *videoinput_new( const char *v4l_device, int capwidth,
- int volume, int norm, int verbose );
+ int volume, int norm, int verbose,
+ char *error_string );
/**
* Shut down the capture device.

Privacy Policy