Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all
Unified · Split
| @@ -566,9 +566,10 @@ void avfilter_start_frame(AVFilterLink *link, AVFilterBufferRef *picref) · 565 unmodified lines | |||
| 566 | else | 566 | else |
| 567 | link->cur_buf = picref; | 567 | link->cur_buf = picref; |
| 568 | 568 | ||
| 569 | if(cmd && cmd->time <= picref->pts * av_q2d(link->time_base)){ | 569 | while(cmd && cmd->time <= picref->pts * av_q2d(link->time_base)){ |
| 570 | avfilter_process_command(link->dst, cmd->command, cmd->arg, 0, 0, cmd->flags); | 570 | avfilter_process_command(link->dst, cmd->command, cmd->arg, 0, 0, cmd->flags); |
| 571 | command_queue_pop(link->dst); | 571 | command_queue_pop(link->dst); |
| 572 | cmd= link->dst->command_queue; | ||
| 572 | } | 573 | } |
| 573 | 574 | ||
| 574 | start_frame(link, link->cur_buf); | 575 | start_frame(link, link->cur_buf); |