summaryrefslogtreecommitdiff
path: root/src/input/input_pvr.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_pvr.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_pvr.c')
-rw-r--r--src/input/input_pvr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/input_pvr.c b/src/input/input_pvr.c
index 1461d0f9e..f47bfe890 100644
--- a/src/input/input_pvr.c
+++ b/src/input/input_pvr.c
@@ -38,7 +38,7 @@
* usage:
* xine pvr:/<prefix_to_tmp_files>\!<prefix_to_saved_files>\!<max_page_age>
*
- * $Id: input_pvr.c,v 1.62 2006/07/10 22:08:15 dgp85 Exp $
+ * $Id: input_pvr.c,v 1.63 2006/12/19 19:10:51 dsalt Exp $
*/
/**************************************************************************
@@ -1548,9 +1548,9 @@ static void *init_plugin (xine_t *xine, void *data) {
this->xine = xine;
this->config = xine->config;
- this->devname = this->config->register_string(this->config,
+ this->devname = this->config->register_filename(this->config,
"media.wintv_pvr.device",
- PVR_DEVICE,
+ PVR_DEVICE, XINE_CONFIG_STRING_IS_DEVICE_NAME,
_("device used for WinTV-PVR 250/350 (pvr plugin)"),
_("The path to the device of your WinTV card."),
10, NULL,