History

fftools/ffmpeg_filter: stop setting a no-op option

Anton Khirnov committed 2 years ago

Commit 496b8d71 parent 26ae8d11 file · +3 −9Browse files

Unified · Split

fftools/ffmpeg_filter.c+3−9
@@ -1588,15 +1588,9 @@ static int configure_output_audio_filter(FilterGraph *fg, AVFilterGraph *graph, · 1587 unmodified lines
1588 int ret;1588 int ret;
1589 1589
1590 snprintf(name, sizeof(name), "out_%s", ofp->name);1590 snprintf(name, sizeof(name), "out_%s", ofp->name);
1591 ofp->filter = avfilter_graph_alloc_filter(graph,1591 ret = avfilter_graph_create_filter(&ofp->filter,
1592 avfilter_get_by_name("abuffersink"),1592 avfilter_get_by_name("abuffersink"),
1593 name);1593 name, NULL, NULL, graph);
1594 if (!ofp->filter)
1595 return AVERROR(ENOMEM);
1596 if ((ret = av_opt_set_int(ofp->filter, "all_channel_counts", 1, AV_OPT_SEARCH_CHILDREN)) < 0)
1597 return ret;
1598
1599 ret = avfilter_init_dict(ofp->filter, NULL);
1600 if (ret < 0)1594 if (ret < 0)
1601 return ret;1595 return ret;
1602 1596

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t