Browse Source

make it possible to compile ffmpeg without swscale

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.1
Paul B Mahol 12 years ago
parent
commit
c655216939
2 changed files with 3 additions and 1 deletions
  1. +1
    -1
      configure
  2. +2
    -0
      ffmpeg_opt.c

+ 1
- 1
configure View File

@@ -2263,7 +2263,7 @@ postproc_deps="avutil gpl"
swscale_deps="avutil"

# programs
ffmpeg_deps="avcodec avfilter avformat swscale swresample"
ffmpeg_deps="avcodec avfilter avformat swresample"
ffmpeg_select="aformat_filter anull_filter atrim_filter format_filter
null_filter
setpts_filter trim_filter"


+ 2
- 0
ffmpeg_opt.c View File

@@ -2457,7 +2457,9 @@ void show_help_default(const char *opt, const char *arg)
int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM;
show_help_children(avcodec_get_class(), flags);
show_help_children(avformat_get_class(), flags);
#if CONFIG_SWSCALE
show_help_children(sws_get_class(), flags);
#endif
show_help_children(swr_get_class(), AV_OPT_FLAG_AUDIO_PARAM);
show_help_children(avfilter_get_class(), AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM);
}


Loading…
Cancel
Save