Commit 0b360cae authored by Paul B Mahol's avatar Paul B Mahol

make swresample optional for ffmpeg

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent d06b01fc
...@@ -3459,7 +3459,7 @@ avfilter_extralibs="pthreads_extralibs" ...@@ -3459,7 +3459,7 @@ avfilter_extralibs="pthreads_extralibs"
avutil_extralibs="d3d11va_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vdpau_x11_extralibs" avutil_extralibs="d3d11va_extralibs nanosleep_extralibs pthreads_extralibs vaapi_drm_extralibs vaapi_x11_extralibs vdpau_x11_extralibs"
# programs # programs
ffmpeg_deps="avcodec avfilter avformat swresample" ffmpeg_deps="avcodec avfilter avformat"
ffmpeg_select="aformat_filter anull_filter atrim_filter format_filter ffmpeg_select="aformat_filter anull_filter atrim_filter format_filter
null_filter null_filter
trim_filter" trim_filter"
......
...@@ -3157,7 +3157,9 @@ void show_help_default(const char *opt, const char *arg) ...@@ -3157,7 +3157,9 @@ void show_help_default(const char *opt, const char *arg)
#if CONFIG_SWSCALE #if CONFIG_SWSCALE
show_help_children(sws_get_class(), flags); show_help_children(sws_get_class(), flags);
#endif #endif
#if CONFIG_SWRESAMPLE
show_help_children(swr_get_class(), AV_OPT_FLAG_AUDIO_PARAM); show_help_children(swr_get_class(), AV_OPT_FLAG_AUDIO_PARAM);
#endif
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);
show_help_children(av_bsf_get_class(), AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_BSF_PARAM); show_help_children(av_bsf_get_class(), AV_OPT_FLAG_VIDEO_PARAM | AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_BSF_PARAM);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment