mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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.
This commit is contained in:
parent
873306f265
commit
b77f041dff
@ -1304,8 +1304,6 @@ static int forward_status_change(AVFilterContext *filter, AVFilterLink *in)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define FFERROR_NOT_READY FFERRTAG('N','R','D','Y')
|
|
||||||
|
|
||||||
static int ff_filter_activate_default(AVFilterContext *filter)
|
static int ff_filter_activate_default(AVFilterContext *filter)
|
||||||
{
|
{
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
@ -27,6 +27,11 @@
|
|||||||
|
|
||||||
#include "avfilter.h"
|
#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.
|
* Mark a filter ready and schedule it for activation.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user