Skip to content
Snippets Groups Projects
Commit b77f041d authored by Nicolas George's avatar Nicolas George
Browse files

lavfi: make FFERROR_NOT_READY available to filters.

I am not entirely sure that this return code is useful,
but having and using it makes no harm.
parent 873306f2
No related branches found
No related tags found
No related merge requests found
......@@ -1304,8 +1304,6 @@ static int forward_status_change(AVFilterContext *filter, AVFilterLink *in)
return 0;
}
#define FFERROR_NOT_READY FFERRTAG('N','R','D','Y')
static int ff_filter_activate_default(AVFilterContext *filter)
{
unsigned i;
......
......@@ -27,6 +27,11 @@
#include "avfilter.h"
/**
* Special return code when activate() did not do anything.
*/
#define FFERROR_NOT_READY FFERRTAG('N','R','D','Y')
/**
* Mark a filter ready and schedule it for activation.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment