summaryrefslogtreecommitdiff
path: root/src/input/input_v4l.c
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2006-12-19 19:10:50 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2006-12-19 19:10:50 +0000
commitace000d3a03181607b130c28da69652f5f60f7d6 (patch)
treefe32ae3c47913ec693e0c1cfbe18b71d7ad9223b /src/input/input_v4l.c
parentb69b939bc672c639696bd1862808ade41e9aedbc (diff)
downloadxine-lib-ace000d3a03181607b130c28da69652f5f60f7d6.tar.gz
xine-lib-ace000d3a03181607b130c28da69652f5f60f7d6.tar.bz2
Mark string-type configuration items according to whether they're plain
strings or names of files, device nodes or directories. This information is available to front ends (via .num_value) so that they can present file/dir-open dialogue boxes if they so choose. Subtitle font selection is split up due to this. CVS patchset: 8425 CVS date: 2006/12/19 19:10:50
Diffstat (limited to 'src/input/input_v4l.c')
-rw-r--r--src/input/input_v4l.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c
index 1dfde167f..8143c6b13 100644
--- a/src/input/input_v4l.c
+++ b/src/input/input_v4l.c
@@ -1907,8 +1907,8 @@ static void *init_video_class (xine_t *xine, void *data)
this->input_class.dispose = v4l_class_dispose;
this->input_class.eject_media = NULL;
- config->register_string (config, "media.video4linux.video_device",
- VIDEO_DEV,
+ config->register_filename (config, "media.video4linux.video_device",
+ VIDEO_DEV, XINE_CONFIG_STRING_IS_DEVICE_NAME,
_("v4l video device"),
_("The path to your Video4Linux video device."),
10, NULL, NULL);
@@ -1933,8 +1933,8 @@ static void *init_radio_class (xine_t *xine, void *data)
this->input_class.dispose = v4l_class_dispose;
this->input_class.eject_media = NULL;
- config->register_string (config, "media.video4linux.radio_device",
- RADIO_DEV,
+ config->register_filename (config, "media.video4linux.radio_device",
+ RADIO_DEV, XINE_CONFIG_STRING_IS_DEVICE_NAME,
_("v4l radio device"),
_("The path to your Video4Linux radio device."),
10, NULL, NULL);