summaryrefslogtreecommitdiff
path: root/src/video_out/video_out_pgx32.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-04-26 17:50:06 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-04-26 17:50:06 +0000
commite5568601c73d854a62c8de99a9df01f56dcfaf86 (patch)
treedf37c01b56eca1fee6724948b4c1643e15b00a72 /src/video_out/video_out_pgx32.c
parenta8f7b05b5a973374e539b1b263c88b43f270f4fb (diff)
downloadxine-lib-e5568601c73d854a62c8de99a9df01f56dcfaf86.tar.gz
xine-lib-e5568601c73d854a62c8de99a9df01f56dcfaf86.tar.bz2
help strings added for all remaining config entries (so I hope)
please everybody watch out for spelling (and other) errors CVS patchset: 6442 CVS date: 2004/04/26 17:50:06
Diffstat (limited to 'src/video_out/video_out_pgx32.c')
-rw-r--r--src/video_out/video_out_pgx32.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/video_out/video_out_pgx32.c b/src/video_out/video_out_pgx32.c
index 05588980e..602439f34 100644
--- a/src/video_out/video_out_pgx32.c
+++ b/src/video_out/video_out_pgx32.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_pgx32.c,v 1.5 2004/04/25 15:05:31 komadori Exp $
+ * $Id: video_out_pgx32.c,v 1.6 2004/04/26 17:50:10 mroi Exp $
*
* video_out_pgx32.c, Sun PGX32 output plugin for xine
*
@@ -753,7 +753,14 @@ static vo_driver_t *pgx32_init_driver(video_driver_class_t *class_gen, const voi
class->instance_count++;
pthread_mutex_unlock(&class->mutex);
- devname = class->config->register_string(class->config, "video.pgx32_device", "/dev/fb", _("path to pgx32 device"), NULL, 10, NULL, NULL);
+ devname = class->config->register_string(class->config, "video.pgx32_device", "/dev/fb",
+ _("PGX32 device name"),
+ _("Specifies the file name for the PGX32 device to be used.\n"
+ "This setting is security critical, because when changed to a different file, xine "
+ "can be used to fill this file with arbitrary content. So you should be careful that "
+ "the value you enter really is a proper PGX32 device."),
+ XINE_CONFIG_SECURITY, NULL, NULL);
+
if ((fbfd = open(devname, O_RDWR)) < 0) {
xprintf(class->xine, XINE_VERBOSITY_LOG, _("video_out_pgx32: Error: can't open framebuffer device '%s'\n"), devname);
return NULL;