Showing the changes to libavfilter/avfilter.h (1 of 26 files). Show all
Unified · Split
| @@ -258,8 +258,11 @@ struct AVFilterPad { · 257 unmodified lines | ||
| 258 | 258 | * picture inside the link structure. |
| 259 | 259 | * |
| 260 | 260 | * Input video pads only. |
| 261 | + * | |
| 262 | + * @return >= 0 on success, a negative AVERROR on error. picref will be | |
| 263 | + * unreferenced by the caller in case of error. | |
| 261 | 264 | */ |
| 262 | − void (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref); | |
| 265 | + int (*start_frame)(AVFilterLink *link, AVFilterBufferRef *picref); | |
| 263 | 266 | |
| 264 | 267 | /** |
| 265 | 268 | * Callback function to get a video buffer. If NULL, the filter system will |