mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-28 03:18:55 +08:00
Do not always fail for circular filter chains
Commited in SoC by Vitor Sessak on 2008-02-10 16:52:54 Originally committed as revision 12050 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -132,8 +132,8 @@ int avfilter_config_links(AVFilterContext *filter)
|
|||||||
case AVLINK_INIT:
|
case AVLINK_INIT:
|
||||||
continue;
|
continue;
|
||||||
case AVLINK_STARTINIT:
|
case AVLINK_STARTINIT:
|
||||||
av_log(filter, AV_LOG_ERROR, "circular filter chain detected\n");
|
av_log(filter, AV_LOG_INFO, "circular filter chain detected\n");
|
||||||
return -1;
|
return 0;
|
||||||
case AVLINK_UNINIT:
|
case AVLINK_UNINIT:
|
||||||
link->init_state = AVLINK_STARTINIT;
|
link->init_state = AVLINK_STARTINIT;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user