[FFmpeg-devel] [PATCH] ffmpeg_filter: enhance reporting of unconnected pads.
Carl Eugen Hoyos
ceffmpeg at gmail.com
Mon Dec 2 20:25:27 EET 2019
Am Mo., 2. Dez. 2019 um 19:19 Uhr schrieb Nicolas George <george at nsup.org>:
>
> Signed-off-by: Nicolas George <george at nsup.org>
> ---
> fftools/ffmpeg_filter.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/fftools/ffmpeg_filter.c b/fftools/ffmpeg_filter.c
> index 72838de1e2..ff46ffab01 100644
> --- a/fftools/ffmpeg_filter.c
> +++ b/fftools/ffmpeg_filter.c
> @@ -269,6 +269,13 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in)
> char *p;
> int file_idx = strtol(in->name, &p, 0);
>
> + av_log(0, 16, "name = %s\n", in->name);
> + if (p == in->name) {
> + av_log(NULL, AV_LOG_FATAL,
> + "Unconnected pad [%s] is not a stream selector in filtergraph description %s.\n",
> + in->name, fg->graph_desc);
> + exit_program(1);
Does this change behaviour apart from printing an error message?
Carl Eugen
More information about the ffmpeg-devel
mailing list