提交 c6552169 编写于 作者: P Paul B Mahol

make it possible to compile ffmpeg without swscale

Signed-off-by: NPaul B Mahol <onemda@gmail.com>
上级 f5ed83c3
...@@ -2263,7 +2263,7 @@ postproc_deps="avutil gpl" ...@@ -2263,7 +2263,7 @@ postproc_deps="avutil gpl"
swscale_deps="avutil" swscale_deps="avutil"
# programs # programs
ffmpeg_deps="avcodec avfilter avformat swscale swresample" ffmpeg_deps="avcodec avfilter avformat swresample"
ffmpeg_select="aformat_filter anull_filter atrim_filter format_filter ffmpeg_select="aformat_filter anull_filter atrim_filter format_filter
null_filter null_filter
setpts_filter trim_filter" setpts_filter trim_filter"
......
...@@ -2457,7 +2457,9 @@ void show_help_default(const char *opt, const char *arg) ...@@ -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; int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM;
show_help_children(avcodec_get_class(), flags); show_help_children(avcodec_get_class(), flags);
show_help_children(avformat_get_class(), flags); show_help_children(avformat_get_class(), flags);
#if CONFIG_SWSCALE
show_help_children(sws_get_class(), flags); show_help_children(sws_get_class(), flags);
#endif
show_help_children(swr_get_class(), AV_OPT_FLAG_AUDIO_PARAM); 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); show_help_children(avfilter_get_class(), AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_FILTERING_PARAM);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册