| OLD | NEW |
| 1 /* | 1 /* |
| 2 * filter graphs | 2 * filter graphs |
| 3 * copyright (c) 2008 Vitor Sessak | 3 * copyright (c) 2008 Vitor Sessak |
| 4 * copyright (c) 2007 Bobby Bingham | 4 * copyright (c) 2007 Bobby Bingham |
| 5 * | 5 * |
| 6 * This file is part of FFmpeg. | 6 * This file is part of FFmpeg. |
| 7 * | 7 * |
| 8 * FFmpeg is free software; you can redistribute it and/or | 8 * FFmpeg is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Lesser General Public | 9 * modify it under the terms of the GNU Lesser General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 if(query_formats(graph, log_ctx)) | 195 if(query_formats(graph, log_ctx)) |
| 196 return -1; | 196 return -1; |
| 197 | 197 |
| 198 /* Once everything is merged, it's possible that we'll still have | 198 /* Once everything is merged, it's possible that we'll still have |
| 199 * multiple valid media format choices. We pick the first one. */ | 199 * multiple valid media format choices. We pick the first one. */ |
| 200 pick_formats(graph); | 200 pick_formats(graph); |
| 201 | 201 |
| 202 return 0; | 202 return 0; |
| 203 } | 203 } |
| 204 | 204 |
| 205 int avfilter_graph_config(AVFilterGraph *graphctx, AVClass *log_ctx) |
| 206 { |
| 207 int ret; |
| 208 |
| 209 if ((ret = avfilter_graph_check_validity(graphctx, log_ctx))) |
| 210 return ret; |
| 211 if ((ret = avfilter_graph_config_formats(graphctx, log_ctx))) |
| 212 return ret; |
| 213 if ((ret = avfilter_graph_config_links(graphctx, log_ctx))) |
| 214 return ret; |
| 215 |
| 216 return 0; |
| 217 } |
| OLD | NEW |