diff options
| author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-05-07 02:25:00 +0000 |
|---|---|---|
| committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-05-07 02:25:00 +0000 |
| commit | 2866aa5a2be3ef68979648fe550a208bd65416ae (patch) | |
| tree | 0ac087d29bc3b05e039846b07750c7dab55e1e76 /src/video_out/video_out_syncfb.c | |
| parent | 572a39455ef8eeef47bf640488ed963ae55925e0 (diff) | |
| download | xine-lib-2866aa5a2be3ef68979648fe550a208bd65416ae.tar.gz xine-lib-2866aa5a2be3ef68979648fe550a208bd65416ae.tar.bz2 | |
Check and comply with devfs (i hope).
CVS patchset: 68
CVS date: 2001/05/07 02:25:00
Diffstat (limited to 'src/video_out/video_out_syncfb.c')
| -rw-r--r-- | src/video_out/video_out_syncfb.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index 2d99f3216..b8262f5db 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.1 2001/04/24 20:53:00 f1rmb Exp $ + * $Id: video_out_syncfb.c,v 1.2 2001/05/07 02:25:00 f1rmb Exp $ * * video_out_syncfb.c, Matrox G400 video extension interface for xine * @@ -49,6 +49,10 @@ #include <X11/Xutil.h> +#if defined(__linux__) +#include <linux/config.h> /* Check for DEVFS */ +#endif + #include "video_out.h" #include "video_out_syncfb.h" @@ -766,7 +770,11 @@ static vo_driver_t vo_mga = { vo_driver_t *init_video_out_mga () { +#ifdef CONFIG_DEVFS_FS + char name[]= "/dev/fb/syncfb"; +#else char name[]= "/dev/syncfb"; +#endif _mga_priv.image_width=720; _mga_priv.image_height=576; |
