Changeset 4525fffaf01a35712399e5d26a7ffa337bcdc382
- Timestamp:
- 17/05/03 13:35:14
(6 years ago)
- Author:
- Gildas Bazin <gbazin@videolan.org>
- git-committer:
- Gildas Bazin <gbazin@videolan.org> 1053171314 +0000
- git-parent:
[bd7ed3cead45be14d9b435cbfddd5a7745c97a64]
- git-author:
- Gildas Bazin <gbazin@videolan.org> 1053171314 +0000
- Message:
* configure.ac.in: removed the encoders from the list of plugins as they are not used currently.
* src/libvlc.h, modules/audio_filter/resampler/bandlimited.c: added an hq-resampling option to enable/disable the high quality resampling.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rd5791c9 |
r4525fff |
|
| 1534 | 1534 | AC_CHECK_HEADERS(ffmpeg/avcodec.h postproc/postprocess.h) |
|---|
| 1535 | 1535 | AC_CHECK_LIB(avcodec, avcodec_init, [ |
|---|
| 1536 | | BUILTINS="${BUILTINS} ffmpeg stream_out_transcode encoder_ffmpeg" |
|---|
| | 1536 | BUILTINS="${BUILTINS} ffmpeg stream_out_transcode" |
|---|
| 1537 | 1537 | LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -lavcodec" |
|---|
| 1538 | 1538 | dnl XXX: we don't link with -lavcodec a 2nd time because the OS X |
|---|
| … | … | |
| 1558 | 1558 | dnl Use a custom libffmpeg |
|---|
| 1559 | 1559 | AC_MSG_RESULT(${real_ffmpeg_tree}/libavcodec/libavcodec.a) |
|---|
| 1560 | | BUILTINS="${BUILTINS} ffmpeg stream_out_transcode encoder_ffmpeg" |
|---|
| | 1560 | BUILTINS="${BUILTINS} ffmpeg stream_out_transcode" |
|---|
| 1561 | 1561 | LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -L${real_ffmpeg_tree}/libavcodec -lavcodec" |
|---|
| 1562 | 1562 | CPPFLAGS_ffmpeg="${CPPFLAGS_ffmpeg} -I${real_ffmpeg_tree}/libavcodec" |
|---|
| … | … | |
| 1676 | 1676 | dnl Use a custom xvid |
|---|
| 1677 | 1677 | AC_MSG_RESULT(${real_xvid_tree}/build/generic/libxvidcore.a) |
|---|
| 1678 | | BUILTINS="${BUILTINS} xvid encoder_xvid" |
|---|
| | 1678 | BUILTINS="${BUILTINS} xvid" |
|---|
| 1679 | 1679 | LDFLAGS_xvid="${LDFLAGS_xvid} -L${real_xvid_tree}/build/generic -lxvidcore" |
|---|
| 1680 | 1680 | CPPFLAGS_xvid="${CPPFLAGS_xvid} -I${real_xvid_tree}/src" |
|---|
| … | … | |
| 1690 | 1690 | [ AC_MSG_ERROR([Cannot find development headers for libxvidcore...]) ]) |
|---|
| 1691 | 1691 | AC_CHECK_LIB(xvidcore, xvid_init, [ |
|---|
| 1692 | | PLUGINS="${PLUGINS} xvid encoder_xvid" |
|---|
| | 1692 | PLUGINS="${PLUGINS} xvid" |
|---|
| 1693 | 1693 | LDFLAGS_xvid="${LDFLAGS_xvid} -lxvidcore" ], |
|---|
| 1694 | 1694 | [ AC_MSG_ERROR([Cannot find libxvidcore library...]) ]) |
|---|
| r70f5b0e |
r4525fff |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 2002 VideoLAN |
|---|
| 5 | | * $Id: bandlimited.c,v 1.5 2003/03/05 22:37:05 gbazin Exp $ |
|---|
| | 5 | * $Id: bandlimited.c,v 1.6 2003/05/17 11:35:14 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Gildas Bazin <gbazin@netcourrier.com> |
|---|
| … | … | |
| 105 | 105 | } |
|---|
| 106 | 106 | |
|---|
| | 107 | #if !defined( SYS_DARWIN ) |
|---|
| | 108 | if( !config_GetInt( p_this, "hq-resampling" ) ) |
|---|
| | 109 | { |
|---|
| | 110 | return VLC_EGENERIC; |
|---|
| | 111 | } |
|---|
| | 112 | #endif |
|---|
| | 113 | |
|---|
| 107 | 114 | /* Allocate the memory needed to store the module's structure */ |
|---|
| 108 | 115 | p_filter->p_sys = malloc( sizeof(struct aout_filter_sys_t) ); |
|---|
| r668ce22 |
r4525fff |
|
| 3 | 3 | ***************************************************************************** |
|---|
| 4 | 4 | * Copyright (C) 1998-2002 VideoLAN |
|---|
| 5 | | * $Id: libvlc.h,v 1.66 2003/05/14 21:29:43 fenrir Exp $ |
|---|
| | 5 | * $Id: libvlc.h,v 1.67 2003/05/17 11:35:14 gbazin Exp $ |
|---|
| 6 | 6 | * |
|---|
| 7 | 7 | * Authors: Vincent Seguin <seguin@via.ecp.fr> |
|---|
| … | … | |
| 112 | 112 | "-1 (default), 48000, 44100, 32000, 22050, 16000, 11025, 8000.") |
|---|
| 113 | 113 | |
|---|
| | 114 | #if !defined( SYS_DARWIN ) |
|---|
| | 115 | #define AOUT_RESAMP_TEXT N_("High quality audio resampling") |
|---|
| | 116 | #define AOUT_RESAMP_LONGTEXT N_( \ |
|---|
| | 117 | "High quality audio resampling can be processor intensive so you can " \ |
|---|
| | 118 | "disable it and a cheaper resampling algorithm will be used instead.") |
|---|
| | 119 | #endif |
|---|
| | 120 | |
|---|
| 114 | 121 | #define DESYNC_TEXT N_("Compensate desynchronization of audio (in ms)") |
|---|
| 115 | 122 | #define DESYNC_LONGTEXT N_( \ |
|---|
| … | … | |
| 467 | 474 | VOLUME_SAVE_TEXT, VOLUME_SAVE_LONGTEXT, VLC_TRUE ); |
|---|
| 468 | 475 | add_integer( "aout-rate", -1, NULL, AOUT_RATE_TEXT, AOUT_RATE_LONGTEXT, VLC_TRUE ); |
|---|
| | 476 | #if !defined( SYS_DARWIN ) |
|---|
| | 477 | add_bool( "hq-resampling", 1, NULL, AOUT_RESAMP_TEXT, AOUT_RESAMP_LONGTEXT, VLC_TRUE ); |
|---|
| | 478 | #endif |
|---|
| 469 | 479 | add_integer( "desync", 0, NULL, DESYNC_TEXT, DESYNC_LONGTEXT, VLC_TRUE ); |
|---|
| 470 | 480 | add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, VLC_FALSE ); |
|---|