Changeset e405691afcb7d6c9d4e0917da3565fbe149114e3
- Timestamp:
- 06/19/02 01:18:40
(6 years ago)
- Author:
- Christophe Massiot <massiot@videolan.org>
- git-committer:
- Christophe Massiot <massiot@videolan.org> 1024442320 +0000
- git-parent:
[cecb7e869db3e9cecffcb712fd66c3a8bc52636e]
- git-author:
- Christophe Massiot <massiot@videolan.org> 1024442320 +0000
- Message:
Ported previous stable commits.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1a6e240 |
re405691 |
|
| 2 | 2 | {\fonttbl\f0\fswiss\fcharset77 Helvetica;\f1\fswiss\fcharset77 Helvetica-Bold;\f2\fmodern\fcharset77 Courier; |
|---|
| 3 | 3 | } |
|---|
| 4 | | {\colortbl;\red255\green255\blue255;} |
|---|
| | 4 | {\colortbl;\red255\green255\blue255;\red255\green3\blue0;} |
|---|
| 5 | 5 | \margl1440\margr1440\vieww11240\viewh10380\viewkind0 |
|---|
| 6 | 6 | \hyphauto1\hyphfactor90 |
|---|
| … | … | |
| 15 | 15 | \pard\tx1440\tx2880\tx4320\tx5760\tx7200\qj |
|---|
| 16 | 16 | \cf0 Welcome to the VideoLAN Client ! VLC is a multi-purpose mutimedia tool : it can play DVDs and VCDs, or read a stream from the network. It also supports DivX/MPEG-4 files and is unaffected by the dreaded .avi bug which can cause choppy sound when playing DivX in Quicktime. VLC has originally been developed for GNU/Linux systems, but has been ported to numerous operating systems, including Mac OS X and Win32. The Mac OS X port is a bit young and immature, as you will notice, and there are many caveats. We are working hard to improve it, and if you think you can help us in any way, please drop us a line.\ |
|---|
| | 17 | \ |
|---|
| | 18 | |
|---|
| | 19 | \fs48 \cf2 IMPORTANT NOTE |
|---|
| | 20 | \fs24 \cf0 \ |
|---|
| | 21 | \ |
|---|
| | 22 | |
|---|
| | 23 | \f1\b VLC is NOT compatible with QuickTime 6 Preview. At this point, we suspect a bug in QuickTime 6 Preview. Known workaround are :\ |
|---|
| | 24 | - switch the screen depth to thousands of colors ;\ |
|---|
| | 25 | - downgrade to QuickTime 5 (see http://docs.info.apple.com/article.html?artnum=120084)\ |
|---|
| | 26 | \ |
|---|
| | 27 | Please do NOT report any problem with QuickTime 6 Preview. Use it at your own risks. Any report involving QuickTime 6 Preview will be deleted. |
|---|
| | 28 | \f0\b0 \ |
|---|
| | 29 | \ |
|---|
| 17 | 30 | \ |
|---|
| 18 | 31 | You may find the following frequentely asked questions useful :\ |
|---|
| … | … | |
| 49 | 62 | \f1\b \ul 5. I only get a black picture !\ |
|---|
| 50 | 63 | |
|---|
| 51 | | \f0\b0 \ulnone We haven't found the reason why some people get this problem. However, users have indicated a workaround : switch your screen depth to thousands of colors instead of millions. If you think you have information to help us find the bug, please drop us a mail. Downgrading QuickTime to 5.0 may help, too.\ |
|---|
| | 64 | \f0\b0 \ulnone Are you sure you do not have QuickTime 6 Preview installed ?.\ |
|---|
| 52 | 65 | \ |
|---|
| 53 | 66 | \ |
|---|
| … | … | |
| 64 | 77 | \ |
|---|
| 65 | 78 | \ |
|---|
| | 79 | |
|---|
| | 80 | \f1\b \ul 8. Where can I find an older version for Mac OS 9 ?\ |
|---|
| | 81 | |
|---|
| | 82 | \f0\b0 \ulnone There is no version for Mac OS 9. VLC is originally a UNIX application and has never been ported to Mac OS 9. Considering the amount of differences between Mac OS 9 and modern systems, it would require a tremendous work to port VLC. We do not plan to do it. So please don't ask.\ |
|---|
| | 83 | \ |
|---|
| | 84 | \ |
|---|
| 66 | 85 | Thanks for reading this file. For additional information, subscribe to the vlc mailing list on \ul http://www.videolan.org/.\ulnone \ |
|---|
| 67 | 86 | -- \ |
|---|
| 68 | 87 | Christophe Massiot <massiot@via.ecp.fr>, for the VideoLAN team.\ |
|---|
| 69 | | $Id: README.MacOSX.rtf,v 1.4 2002/06/02 23:03:22 massiot Exp $} |
|---|
| | 88 | $Id: README.MacOSX.rtf,v 1.5 2002/06/18 23:18:40 massiot Exp $} |
|---|
| rcecb7e8 |
re405691 |
|
| 3297 | 3297 | save_CFLAGS="${save_CFLAGS} -DSYS_`echo ${SYS} | sed -e 's/-.*//' | tr 'abcdefghijklmnopqrstuvwxyz.' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_'`" |
|---|
| 3298 | 3298 | |
|---|
| 3299 | | for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 |
|---|
| | 3299 | for ac_func in gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 atoll |
|---|
| 3300 | 3300 | do |
|---|
| 3301 | 3301 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
|---|
| rcecb7e8 |
re405691 |
|
| 127 | 127 | |
|---|
| 128 | 128 | dnl Check for system libs needed |
|---|
| 129 | | AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2) |
|---|
| | 129 | AC_CHECK_FUNCS(gettimeofday select strerror strtod strtol isatty vasprintf swab sigrelse getpwuid memalign posix_memalign gethostbyname2 atoll) |
|---|
| 130 | 130 | |
|---|
| 131 | 131 | AC_CHECK_FUNC(connect,,[ |
|---|
| r211d6ba |
re405691 |
|
| 126 | 126 | /* Volume */ |
|---|
| 127 | 127 | #define VOLUME_DEFAULT 256 |
|---|
| 128 | | #define VOLUME_STEP 128 |
|---|
| | 128 | #define VOLUME_STEP 32 |
|---|
| 129 | 129 | #define VOLUME_MAX 1024 |
|---|
| | 130 | #define VOLUME_MIN 0 |
|---|
| 130 | 131 | |
|---|
| 131 | 132 | /* Number of audio output frames contained in an audio output fifo. |
|---|
| r7291e0a |
re405691 |
|
| 1 | | /* include/defs.h.in. Generated automatically from configure.in by autoheader 2.13. */ |
|---|
| | 1 | /* include/defs.h.in. Generated automatically from configure.in by autoheader. */ |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | /* Define if using alloca.c. */ |
|---|
| … | … | |
| 56 | 56 | #undef HAVE___ARGZ_STRINGIFY |
|---|
| 57 | 57 | |
|---|
| | 58 | /* Define if you have the atoll function. */ |
|---|
| | 59 | #undef HAVE_ATOLL |
|---|
| | 60 | |
|---|
| 58 | 61 | /* Define if you have the dcgettext function. */ |
|---|
| 59 | 62 | #undef HAVE_DCGETTEXT |
|---|
| r9e3ab28 |
re405691 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001, 2002 VideoLAN |
|---|
| 5 | | * $Id: http.c,v 1.11 2002/06/01 12:31:58 sam Exp $ |
|---|
| | 5 | * $Id: http.c,v 1.12 2002/06/18 23:18:40 massiot Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Christophe Massiot <massiot@via.ecp.fr> |
|---|
| … | … | |
| 138 | 138 | # define HTTP_END "\r\n" |
|---|
| 139 | 139 | |
|---|
| 140 | | snprintf( psz_buffer, sizeof(psz_buffer), |
|---|
| 141 | | "%s" |
|---|
| 142 | | "Range: bytes=%lld-\r\n" |
|---|
| 143 | | HTTP_USERAGENT HTTP_END, |
|---|
| 144 | | p_access_data->psz_buffer, i_tell ); |
|---|
| | 140 | if ( p_input->stream.b_seekable ) |
|---|
| | 141 | { |
|---|
| | 142 | snprintf( psz_buffer, sizeof(psz_buffer), |
|---|
| | 143 | "%s" |
|---|
| | 144 | "Range: bytes=%lld-\r\n" |
|---|
| | 145 | HTTP_USERAGENT HTTP_END, |
|---|
| | 146 | p_access_data->psz_buffer, i_tell ); |
|---|
| | 147 | } |
|---|
| | 148 | else |
|---|
| | 149 | { |
|---|
| | 150 | snprintf( psz_buffer, sizeof(psz_buffer), |
|---|
| | 151 | "%s" |
|---|
| | 152 | HTTP_USERAGENT HTTP_END, |
|---|
| | 153 | p_access_data->psz_buffer, i_tell ); |
|---|
| | 154 | } |
|---|
| 145 | 155 | psz_buffer[sizeof(psz_buffer) - 1] = '\0'; |
|---|
| 146 | 156 | |
|---|
| … | … | |
| 190 | 200 | { |
|---|
| 191 | 201 | psz_parser += strlen("Content-Length: "); |
|---|
| | 202 | vlc_mutex_lock( &p_input->stream.stream_lock ); |
|---|
| | 203 | #ifdef HAVE_ATOLL |
|---|
| | 204 | p_input->stream.p_selected_area->i_size = atoll( psz_parser ) |
|---|
| | 205 | + i_tell; |
|---|
| | 206 | #else |
|---|
| 192 | 207 | /* FIXME : this won't work for 64-bit lengths */ |
|---|
| 193 | | vlc_mutex_lock( &p_input->stream.stream_lock ); |
|---|
| 194 | 208 | p_input->stream.p_selected_area->i_size = atoi( psz_parser ) |
|---|
| 195 | 209 | + i_tell; |
|---|
| | 210 | #endif |
|---|
| 196 | 211 | vlc_mutex_unlock( &p_input->stream.stream_lock ); |
|---|
| 197 | 212 | } |
|---|
| … | … | |
| 388 | 403 | |
|---|
| 389 | 404 | snprintf( p_access_data->psz_buffer, sizeof(p_access_data->psz_buffer), |
|---|
| 390 | | "GET http://%s:%d/%s HTTP/1.1\r\n", |
|---|
| | 405 | "GET http://%s:%d/%s\r\n HTTP/1.0\r\n", |
|---|
| 391 | 406 | psz_server_addr, i_server_port, psz_path ); |
|---|
| 392 | 407 | } |
|---|
| … | … | |
| 409 | 424 | vlc_mutex_lock( &p_input->stream.stream_lock ); |
|---|
| 410 | 425 | p_input->stream.b_pace_control = 1; |
|---|
| 411 | | p_input->stream.b_seekable = 0; |
|---|
| | 426 | p_input->stream.b_seekable = 1; |
|---|
| 412 | 427 | p_input->stream.p_selected_area->i_tell = 0; |
|---|
| 413 | 428 | p_input->stream.p_selected_area->i_size = 0; |
|---|
| … | … | |
| 416 | 431 | p_input->i_mtu = 0; |
|---|
| 417 | 432 | |
|---|
| 418 | | return( HTTPConnect( p_input, 0 ) ); |
|---|
| | 433 | if( HTTPConnect( p_input, 0 ) ) |
|---|
| | 434 | { |
|---|
| | 435 | char * psz_pos = strstr(p_access_data->psz_buffer, "HTTP/1.1"); |
|---|
| | 436 | p_input->stream.b_seekable = 0; |
|---|
| | 437 | psz_pos[7] = 0; |
|---|
| | 438 | return( HTTPConnect( p_input, 0 ) ); |
|---|
| | 439 | } |
|---|
| | 440 | return 0; |
|---|
| 419 | 441 | } |
|---|
| 420 | 442 | |
|---|
| r58ac187 |
re405691 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001 VideoLAN |
|---|
| 5 | | * $Id: intf_vlc_wrapper.m,v 1.14 2002/06/08 18:52:34 sam Exp $ |
|---|
| | 5 | * $Id: intf_vlc_wrapper.m,v 1.15 2002/06/18 23:18:40 massiot Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Florian G. Pflug <fgp@phlo.org> |
|---|
| … | … | |
| 631 | 631 | - (void)openNetHTTP:(NSString*)o_addr |
|---|
| 632 | 632 | { |
|---|
| 633 | | NSString *o_source; |
|---|
| 634 | 633 | int i_end = p_main->p_playlist->i_size; |
|---|
| 635 | 634 | intf_thread_t * p_intf = p_main->p_intf; |
|---|
| … | … | |
| 996 | 995 | [o_subtitle removeItemAtIndex:0]; |
|---|
| 997 | 996 | } |
|---|
| | 997 | |
|---|
| | 998 | [o_language_item setEnabled: 1]; |
|---|
| | 999 | [o_subtitle_item setEnabled: 1]; |
|---|
| 998 | 1000 | |
|---|
| 999 | 1001 | /* Create language & subtitles menus */ |
|---|
| rd1adb68 |
re405691 |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2001 VideoLAN |
|---|
| 5 | | * $Id: vout_vlc_wrapper.m,v 1.5 2002/06/08 19:32:19 sam Exp $ |
|---|
| | 5 | * $Id: vout_vlc_wrapper.m,v 1.6 2002/06/18 23:18:40 massiot Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> |
|---|
| … | … | |
| 32 | 32 | #include <vlc/intf.h> |
|---|
| 33 | 33 | #include <vlc/vout.h> |
|---|
| | 34 | #include <vlc/aout.h> |
|---|
| 34 | 35 | |
|---|
| 35 | 36 | #include "stream_control.h" |
|---|
| … | … | |
| 111 | 112 | switch( key ) |
|---|
| 112 | 113 | { |
|---|
| | 114 | case (unichar)0xf700: /* up-arrow */ |
|---|
| | 115 | if ( !p_main->p_intf->p_sys->b_mute |
|---|
| | 116 | && p_aout_bank->pp_aout[0]->i_volume + VOLUME_STEP |
|---|
| | 117 | <= VOLUME_MAX ) |
|---|
| | 118 | { |
|---|
| | 119 | p_aout_bank->pp_aout[0]->i_volume += VOLUME_STEP; |
|---|
| | 120 | } |
|---|
| | 121 | break; |
|---|
| | 122 | |
|---|
| | 123 | case (unichar)0xf701: /* down-arrow */ |
|---|
| | 124 | if ( !p_main->p_intf->p_sys->b_mute |
|---|
| | 125 | && p_aout_bank->pp_aout[0]->i_volume - VOLUME_STEP |
|---|
| | 126 | >= VOLUME_MIN ) |
|---|
| | 127 | { |
|---|
| | 128 | p_aout_bank->pp_aout[0]->i_volume -= VOLUME_STEP; |
|---|
| | 129 | } |
|---|
| | 130 | break; |
|---|
| | 131 | |
|---|
| 113 | 132 | case 'f': case 'F': |
|---|
| 114 | 133 | p_vout->i_changes |= VOUT_FULLSCREEN_CHANGE; |
|---|