Changeset d472b3e244fb23cef9077a6baaf48f42c58516e0
- Timestamp:
- 07/11/02 20:31:08
(6 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1036697468 +0000
- git-parent:
[99f3e5493956c0cc4df7416df2da23cc7d4fd55d]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1036697468 +0000
- Message:
* INSTALL.win32, include/vlc_config.h, src/libvlc.h: changes to reflect the
fact that libdvdcss now needs a colon after the DVD drive letter (on Win32).
* src/misc/messages.c: on Win32 only use fflush() if in debug mode.
* src/misc/win32_specific.c: try to raise the our process priority slightly
above normal. This prevent us from suffering too much from normal activity
of the OS.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rc93f613 |
rd472b3e |
|
| 15 | 15 | |
|---|
| 16 | 16 | If you want to play a DVD, run vlc and click on the Disc option in the |
|---|
| 17 | | interface. You then have to type your drive letter in the 'Device name' |
|---|
| 18 | | box (eg. 'D' if this is the letter for your dvdrom drive). |
|---|
| | 17 | interface. You then have to type your drive letter followed by a colon in |
|---|
| | 18 | the 'Device name' box (eg. 'D:' if this is the letter for your dvdrom drive). |
|---|
| 19 | 19 | |
|---|
| 20 | 20 | Building VideoLAN Client from the source code |
|---|
| rc0a5c21 |
rd472b3e |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1999-2001 VideoLAN |
|---|
| 5 | | * $Id: codecs.h,v 1.1 2002/11/03 23:00:32 gbazin Exp $ |
|---|
| | 5 | * $Id: codecs.h,v 1.2 2002/11/07 19:31:07 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@netcourrier.com> |
|---|
| … | … | |
| 40 | 40 | #endif /* _WAVEFORMATEX_ */ |
|---|
| 41 | 41 | |
|---|
| 42 | | #ifndef _BITMAPINFOHEADER_ |
|---|
| | 42 | #if !defined(_BITMAPINFOHEADER_) && !defined(WIN32) |
|---|
| 43 | 43 | #define _BITMAPINFOHEADER_ |
|---|
| 44 | 44 | typedef struct __attribute__((__packed__)) |
|---|
| r2799d36 |
rd472b3e |
|
| 113 | 113 | # define VCD_DEVICE "/dev/cdrom" |
|---|
| 114 | 114 | #else |
|---|
| 115 | | # define DVD_DEVICE "D" |
|---|
| 116 | | # define VCD_DEVICE "D" |
|---|
| | 115 | # define DVD_DEVICE "D:" |
|---|
| | 116 | # define VCD_DEVICE "D:" |
|---|
| 117 | 117 | #endif |
|---|
| 118 | 118 | |
|---|
| r954bdeb |
rd472b3e |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1998-2002 VideoLAN |
|---|
| 5 | | * $Id: libvlc.h,v 1.20 2002/10/15 12:30:00 sam Exp $ |
|---|
| | 5 | * $Id: libvlc.h,v 1.21 2002/11/07 19:31:08 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Vincent Seguin <seguin@via.ecp.fr> |
|---|
| … | … | |
| 216 | 216 | |
|---|
| 217 | 217 | #define DVD_DEV_TEXT N_("DVD device") |
|---|
| | 218 | #ifdef WIN32 |
|---|
| | 219 | #define DVD_DEV_LONGTEXT N_( \ |
|---|
| | 220 | "This is the default DVD drive (or file) to use. Don't forget the colon " \ |
|---|
| | 221 | "after the drive letter (eg D:)") |
|---|
| | 222 | #else |
|---|
| 218 | 223 | #define DVD_DEV_LONGTEXT N_( \ |
|---|
| 219 | 224 | "This is the default DVD device to use.") |
|---|
| | 225 | #endif |
|---|
| 220 | 226 | |
|---|
| 221 | 227 | #define VCD_DEV_TEXT N_("VCD device") |
|---|
| r319e629 |
rd472b3e |
|
| 5 | 5 | ***************************************************************************** |
|---|
| 6 | 6 | * Copyright (C) 1998-2002 VideoLAN |
|---|
| 7 | | * $Id: messages.c,v 1.18 2002/10/29 13:22:48 sam Exp $ |
|---|
| | 7 | * $Id: messages.c,v 1.19 2002/11/07 19:31:08 gbazin Exp $ |
|---|
| 8 | 8 | * |
|---|
| 9 | 9 | * Authors: Vincent Seguin <seguin@via.ecp.fr> |
|---|
| … | … | |
| 462 | 462 | } |
|---|
| 463 | 463 | |
|---|
| 464 | | #ifdef WIN32 |
|---|
| | 464 | #if defined(WIN32) && defined(DEBUG) |
|---|
| 465 | 465 | fflush( stderr ); |
|---|
| 466 | 466 | #endif |
|---|
| r80b1569 |
rd472b3e |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001 VideoLAN |
|---|
| 5 | | * $Id: win32_specific.c,v 1.16 2002/10/04 12:01:40 gbazin Exp $ |
|---|
| | 5 | * $Id: win32_specific.c,v 1.17 2002/11/07 19:31:08 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Samuel Hocevar <sam@zoy.org> |
|---|
| … | … | |
| 58 | 58 | p_this->p_libvlc->b_fast_mutex = config_GetInt( p_this, "fast-mutex" ); |
|---|
| 59 | 59 | p_this->p_libvlc->i_win9x_cv = config_GetInt( p_this, "win9x-cv-method" ); |
|---|
| | 60 | |
|---|
| | 61 | /* Raise default priority of the current process */ |
|---|
| | 62 | #ifndef ABOVE_NORMAL_PRIORITY_CLASS |
|---|
| | 63 | # define ABOVE_NORMAL_PRIORITY_CLASS 0x00008000 |
|---|
| | 64 | #endif |
|---|
| | 65 | if( !SetPriorityClass( GetCurrentProcess(), |
|---|
| | 66 | ABOVE_NORMAL_PRIORITY_CLASS ) ) |
|---|
| | 67 | { |
|---|
| | 68 | if( !SetPriorityClass( GetCurrentProcess(), |
|---|
| | 69 | HIGH_PRIORITY_CLASS ) ) |
|---|
| | 70 | msg_Dbg( p_this, "can't raise process priority" ); |
|---|
| | 71 | else |
|---|
| | 72 | msg_Dbg( p_this, "raised process priority" ); |
|---|
| | 73 | } |
|---|
| 60 | 74 | } |
|---|
| 61 | 75 | |
|---|