mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 21:34:01 +08:00
Add avfilter_graph_config().
Originally committed as revision 25502 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
7
ffmpeg.c
7
ffmpeg.c
@@ -452,12 +452,7 @@ static int configure_filters(AVInputStream *ist, AVOutputStream *ost)
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* configure all the filter links */
|
||||
if ((ret = avfilter_graph_check_validity(graph, NULL)) < 0)
|
||||
return ret;
|
||||
if ((ret = avfilter_graph_config_formats(graph, NULL)) < 0)
|
||||
return ret;
|
||||
if ((ret = avfilter_graph_config_links(graph, NULL)) < 0)
|
||||
if ((ret = avfilter_graph_config(graph, NULL)) < 0)
|
||||
return ret;
|
||||
|
||||
codec->width = ist->output_video_filter->inputs[0]->w;
|
||||
|
||||
Reference in New Issue
Block a user