summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_syncfb.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/video_out/video_out_syncfb.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/video_out/video_out_syncfb.c')
-rw-r--r--src/video_out/video_out_syncfb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c
index 9760105c2..f03d0ea97 100644
--- a/src/video_out/video_out_syncfb.c
+++ b/src/video_out/video_out_syncfb.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: video_out_syncfb.c,v 1.107 2006/09/02 01:10:46 dgp85 Exp $
+ * $Id: video_out_syncfb.c,v 1.108 2006/12/19 19:10:51 dsalt Exp $
*
* video_out_syncfb.c, SyncFB (for Matrox G200/G400 cards) interface for xine
*
@@ -1073,7 +1073,8 @@ static void *init_class (xine_t *xine, void *visual_gen) {
char* device_name;
int fd;
- device_name = xine->config->register_string(xine->config, "video.device.syncfb_device", "/dev/syncfb",
+ device_name = xine->config->register_filename(xine->config, "video.device.syncfb_device", "/dev/syncfb",
+ XINE_CONFIG_STRING_IS_DEVICE_NAME,
_("SyncFB device name"),
_("Specifies the file name for the SyncFB (TeleTux) device "
"to be used.\nThis setting is security critical, "