mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Revert "fftools/ffmpeg_filter: fix the flags parsing for scaler"
This reverts commit b3a0548a98
.
This breaks the usage of swscale options, scale_sws_opts should be
passed to auto-inserted scale-filters.
Signed-off-by: Linjie Fu <linjie.justin.fu@gmail.com>
This commit is contained in:
parent
4de4bc06fd
commit
7352c370fa
@ -983,11 +983,7 @@ int configure_filtergraph(FilterGraph *fg)
|
||||
}
|
||||
if (strlen(args)) {
|
||||
args[strlen(args)-1] = 0;
|
||||
|
||||
if (!strncmp(args, "sws_flags=", 10)) {
|
||||
// keep the 'flags=' part
|
||||
fg->graph->scale_sws_opts = av_strdup(args+4);
|
||||
}
|
||||
fg->graph->scale_sws_opts = av_strdup(args);
|
||||
}
|
||||
|
||||
args[0] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user