Changeset 4525fffaf01a35712399e5d26a7ffa337bcdc382

Show
Ignore:
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
  • configure.ac.in

    rd5791c9 r4525fff  
    15341534    AC_CHECK_HEADERS(ffmpeg/avcodec.h postproc/postprocess.h) 
    15351535    AC_CHECK_LIB(avcodec, avcodec_init, [ 
    1536       BUILTINS="${BUILTINS} ffmpeg stream_out_transcode encoder_ffmpeg
     1536      BUILTINS="${BUILTINS} ffmpeg stream_out_transcode
    15371537      LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -lavcodec" 
    15381538      dnl  XXX: we don't link with -lavcodec a 2nd time because the OS X 
     
    15581558      dnl  Use a custom libffmpeg 
    15591559      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
    15611561      LDFLAGS_ffmpeg="${LDFLAGS_ffmpeg} -L${real_ffmpeg_tree}/libavcodec -lavcodec" 
    15621562      CPPFLAGS_ffmpeg="${CPPFLAGS_ffmpeg} -I${real_ffmpeg_tree}/libavcodec" 
     
    16761676      dnl  Use a custom xvid 
    16771677      AC_MSG_RESULT(${real_xvid_tree}/build/generic/libxvidcore.a) 
    1678       BUILTINS="${BUILTINS} xvid encoder_xvid
     1678      BUILTINS="${BUILTINS} xvid
    16791679      LDFLAGS_xvid="${LDFLAGS_xvid} -L${real_xvid_tree}/build/generic -lxvidcore" 
    16801680      CPPFLAGS_xvid="${CPPFLAGS_xvid} -I${real_xvid_tree}/src" 
     
    16901690      [ AC_MSG_ERROR([Cannot find development headers for libxvidcore...]) ]) 
    16911691    AC_CHECK_LIB(xvidcore, xvid_init, [ 
    1692       PLUGINS="${PLUGINS} xvid encoder_xvid
     1692      PLUGINS="${PLUGINS} xvid
    16931693      LDFLAGS_xvid="${LDFLAGS_xvid} -lxvidcore" ], 
    16941694      [ AC_MSG_ERROR([Cannot find libxvidcore library...]) ]) 
  • modules/audio_filter/resampler/bandlimited.c

    r70f5b0e r4525fff  
    33 ***************************************************************************** 
    44 * 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 $ 
    66 * 
    77 * Authors: Gildas Bazin <gbazin@netcourrier.com> 
     
    105105    } 
    106106 
     107#if !defined( SYS_DARWIN ) 
     108    if( !config_GetInt( p_this, "hq-resampling" ) ) 
     109    { 
     110        return VLC_EGENERIC; 
     111    } 
     112#endif 
     113 
    107114    /* Allocate the memory needed to store the module's structure */ 
    108115    p_filter->p_sys = malloc( sizeof(struct aout_filter_sys_t) ); 
  • src/libvlc.h

    r668ce22 r4525fff  
    33 ***************************************************************************** 
    44 * 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 $ 
    66 * 
    77 * Authors: Vincent Seguin <seguin@via.ecp.fr> 
     
    112112    "-1 (default), 48000, 44100, 32000, 22050, 16000, 11025, 8000.") 
    113113 
     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 
    114121#define DESYNC_TEXT N_("Compensate desynchronization of audio (in ms)") 
    115122#define DESYNC_LONGTEXT N_( \ 
     
    467474                            VOLUME_SAVE_TEXT, VOLUME_SAVE_LONGTEXT, VLC_TRUE ); 
    468475    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 
    469479    add_integer( "desync", 0, NULL, DESYNC_TEXT, DESYNC_LONGTEXT, VLC_TRUE ); 
    470480    add_bool( "spdif", 0, NULL, SPDIF_TEXT, SPDIF_LONGTEXT, VLC_FALSE );